from otree.api import Bot from . import * class PlayerBot(Bot): def play_round(self): if self.round_number==1: yield Counting, dict(picture_count = 17) yield Promotion, dict(promotion1 = 1, promotion2 = 1, promotion3 = 1, promotion4 = 1, offer11 = 1, offer12 = 1, offer13 = 1, offer14 = 1, offer21 = 1, offer22 = 1, offer23 = 1, offer24 = 1, offer31 = 1, offer32 = 2, offer41 = 1, offer42 = 1, offer51 = 1, offer52 = 1, offer61 = 1, offer62 = 1) #yield Results #if self.round_number==C.NUM_ROUNDS: #yield FinalResults