rewrite game_over