Added more logic to the game. @todo complete the game class