implement the manual mode for the game.