reset_game logic