updated the game.js with some new code
merged