Finished game.js