from otree.api import Currency as c, currency_range from . import pages from ._builtin import Bot from .models import Constants class PlayerBot(Bot): def play_round(self): if self.player.id_in_group % 2 == 0: yield pages.WelcomeBack, dict(mturk_id="b1") else: yield pages.WelcomeBack, dict(mturk_id="a1") yield pages.Instructions