from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'Wang Song' doc = """ Instructions for Task 2 (Treatment 6) """ class Constants(BaseConstants): name_in_url = 'instruction_t2b' players_per_group = None num_rounds = 1 deletelink = c(110) remainlink = c(100) quiz1ans = 200 quiz2ans = 110 totime = 60 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): quiz1 = models.CurrencyField() quiz2 = models.CurrencyField()