from otree.api import Currency as c, currency_range from . import views from ._builtin import Bot from .models import Constants class PlayerBot(Bot): def play_round(self): # compete price yield (views.Introduction) yield (views.Decide, {'price': c(30)}) yield (views.Results)