working on game.js