Refactored object oriented game.