def mainmenu(self):  # ana menüye dön
     An.load_animals()
     An.load_animal_names()
     An.reload_questions()
     self.last_question = ""
     self.last_answer = ""
     self.switch_frame(StartPage)
 def restart(self):  # oyunu yeniden başlat
     An.load_animals()
     An.load_animal_names()
     An.reload_questions()
     self.last_question = ""
     self.last_answer = ""
     self.switch_frame(QuestionPage)