from otree.api import Currency as c from . import pages from ._builtin import Bot from .models import Constants class PlayerBot(Bot): def play_round(self): if self.round_number == 1: yield pages.Instruction if self.round_number == 1: yield pages.ControlQuestion, dict(pg=18, miopayoff=17) if self.round_number == 1: yield pages.ControlResult if self.round_number == 1: yield pages.Start yield pages.Contribution, dict(contribution=0) yield pages.Results if self.round_number == 2: yield pages.Transition