'End the game'

def end_game(self):

    if (self.flag_timer == 0):
        self.flag_timer = self.current_time
    elif ((self.current_time - self.flag_timer) > 2000):
        self.set_game_info_values()
        self.next = c.GAME_OVER
        self.sound_manager.stop_music()
        self.done = True
