from otree.api import Currency as c, currency_range from . import pages from ._builtin import Bot from .models import Constants class PlayerBot(Bot): def play_round(self): yield (pages.Introduction) yield (pages.Decision, {'stage1_keep': c(Constants.endowment)}) yield (pages.end_of_game)