Added come documentation to game.js