Add initGame function in game.js