added comments to game.java