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: yield(pages.Intro) yield(pages.Contribute, {'contribution': 1}) yield(pages.Rater) yield(pages.Punishment) yield(pages.Results)