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: yield Introduction yield Forex1, dict(initial_bid_forex=50) yield Forex2, dict(second_bid_forex=50) yield Bid1, dict(initial_bid_quantity=100) yield Bid2, dict(second_bid_fiat=100, second_bid_private=0) yield Results else: yield Introduction yield Forex1, dict(initial_bid_forex=75) yield Forex2, dict(second_bid_forex=75) yield Bid1, dict(initial_bid_quantity=100) yield Bid2, dict(second_bid_fiat=100, second_bid_private=0) yield Results