from otree.api import Currency as c, currency_range from . import pages from ._builtin import Bot from .models import Constants import random class PlayerBot(Bot): def play_round(self): yield (pages.CalculatePayment) yield (pages.PaymentInfo) yield (pages.PaymentDecision, {'payment_choice': random.randint(0, 1)}) yield (pages.End)