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.round_number == 1 or self.round_number == 5 or self.round_number == 9 or self.round_number == 13: yield (pages.Introduction) yield (pages.Submission, {'sub1': 's1', 'sub2': 's2', 'sub3': 's3', 'sub4': 's4', 'sub5': 's5', 'sub6': 's6', 'sub7': 's7', 'sub8': 's8', 'sub9': 's9', 'sub10': 's10', }) yield (pages.Results)