from otree.api import Currency as c, currency_range, expect, Bot from . import * class PlayerBot(Bot): def play_round(self): if self.player.id_in_group == 1: if self.player.round_number == 1: yield Introduction yield Bid1, dict(initial_bid_quantity=10) yield Bid2, dict(second_bid=10) yield Results else: None else: if self.player.round_number == 1: yield Introduction yield Bid1, dict(initial_bid_quantity=20) yield Bid2, dict(second_bid=20) yield Results else: None