Minor fix and refactor gameScoring.js
Added coinCount logic to gameScoring.js