import game as understanding_quiz from . import * c = cu class PlayerBot(Bot): cases = ['always_max_always_whistleblowing', 'always_max_always_not_whistleblowing', 'max'] def play_round(self): UnderstandingQuiz_7_answer = 1 UnderstandingQuiz_8_answer = 1 if self.session.config['anonymous'] is False: UnderstandingQuiz_7_answer = 2 if self.session.config['incentives'] is True: UnderstandingQuiz_8_answer = 2 yield UnderstandingQuiz, dict(UnderstandingQuiz_1=True, UnderstandingQuiz_2=2, UnderstandingQuiz_3=1, UnderstandingQuiz_4=2, UnderstandingQuiz_5=2, UnderstandingQuiz_6=2, UnderstandingQuiz_7=UnderstandingQuiz_7_answer, UnderstandingQuiz_8=UnderstandingQuiz_8_answer, UnderstandingQuiz_9=True, UnderstandingQuiz_10=2, )