from otree.api import Currency as c, currency_range, expect, Bot from . import * class PlayerBot(Bot): def play_round(self): if self.player.round_number < 2: yield FinalInformation, dict( my_Username = "robot_bobby" ) else: pass # yield Welcome # yield Instructions # yield P1Instructions # numgames = 40 # for g in range(1,numgames + 1): # yield Games, dict(choice = 0) # yield FinalInformation, dict( # my_Username = "robot_bobby")