from otree.api import Currency as cu, currency_range, expect, Bot, Submission from . import * class PlayerBot(Bot): def play_round(self): if self.player.round_number == 1: yield Introduction yield Send, dict(contribution=12) if self.player.round_number == C.NUM_ROUNDS: yield Submission(End, check_html=False)