Added preliminary documentation in game.js