Refactored approach to basic game.