Added boilerplate for game logic.