Basic template implementation of the game.