Changed implementation to be more like a game.