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): if self.participant.vars['consent'] and self.participant.vars['drop'] == 0: yield pages.End_A else: yield pages.End_B