import BG_B_and_S2QUESTIONBLOCK as pages from . import * c = cu class PlayerBot(Bot): def play_round(self): if self.player.round_number == 1: yield Instructions if self.player.round_number == 1: yield Questions, dict( Questionme=32, Question3=23, Questionbribe=25, QuestionUmp=46, ) if self.player.round_number == 1: yield Role if self.player.round_number == 1: yield Start if self.player.id_in_group != 1: yield Contribuzione, dict(contribution=0) if self.player.id_in_group != 1: yield Fase1Risultati if self.player.id_in_group != 1: yield Bribe_Fase2, dict(bribe=0) if self.player.id_in_group == 1: yield Punishment2bribe, dict( bribe2=1, punishment2=0, punishment3=0, punishment4=0, bribe3=1, bribe4=1, ) if self.player.id_in_group == 1 and player.errore == 1: yield ErrorPunishment, dict( punishment2=0, punishment3=0, punishment4=0, bribe2=1, bribe3=1, bribe4=1, ) yield PayoffRound1 if self.player.round_number == 5: yield Ringraziamento