Esempio n. 1
0
 def __init__(self):
     quiz = self.generate_quiz()
     self.wd = WordDomination(1, quiz)
     self.events = event_handler.get_events()
     self.tasks = event_handler.get_tasks()
     self.levels = event_handler.get_levels()
     self.level_types = event_handler.get_level_types()
Esempio n. 2
0
 def __init__(self, level_id, quiz):
     self.events = event_handler.get_events()
     self.tasks = event_handler.get_tasks()
     self.teams = []
     self.level = self.load_level(level_id)
     self.quiz = quiz