Commenting the Game logic

Putting comments in game logic for index file