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): yield pages.Introduction yield pages.Decision, dict(decision="Cooperate") yield pages.Results if self.player.id_in_group == 2 and self.round_number == 5: yield pages.RoundFive, dict(help=True)