from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) doc = "" class Constants(BaseConstants): name_in_url = "start" players_per_group = 2 num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): one = models.CurrencyField( blank=True, label="1) If you send 1 point, responder gets 3 points. You think responder will give back", ) two = models.CurrencyField( blank=True, label="2) If you send 2 points, responder gets 6 points. You think responder will give back", ) three = models.CurrencyField( blank=True, label="3) If you send 3 points, responder gets 9 points. You think responder will give back", ) four = models.CurrencyField( blank=True, label="4) If you send 4 points, responder gets 12 points. You think responder will give back", ) five = models.CurrencyField( blank=True, label="5) If you send 5 points, responder gets 15 points. You think responder will give back", ) six = models.CurrencyField( blank=True, label="6) If you send 6 points, responder gets 18 points. You think responder will give back", ) seven = models.CurrencyField( blank=True, label="7) If you send 7 points, responder gets 21. You think responder will give back", ) eight = models.CurrencyField( blank=True, label="8) If you send 8 points, responder gets 24 points. You think responder will give back", ) nine = models.CurrencyField( blank=True, label="9) If you send 9 points, responder gets 27 points. You think responder will give back", ) ten = models.CurrencyField( blank=True, label="10) If you send 10 points, responder gets 30 points. You think responder will give back", ) p2one = models.CurrencyField( blank=True, label="1) If proposer sends 1 point, you therefore receive 3 points. You would then return to the proposer", ) p2two = models.CurrencyField( blank=True, label="2) If proposer sends 2 points, you therefore receive 6 points. You would then return to the proposer", ) p2three = models.CurrencyField( blank=True, label="3) If proposer sends 3 points, you therefore receive 9 points. You would then return to the proposer", ) p2four = models.CurrencyField( blank=True, label="4) If proposer sends 4 points, you therefore receive 12 points. You would then return to the proposer", ) p2five = models.CurrencyField( blank=True, label="5) If proposer sends 5 points, you therefore receive 15 points. You would then return to the proposer", ) p2six = models.CurrencyField( blank=True, label="6) If proposer sends 6 points, you therefore receive 18 points. You would then return to the proposer", ) p2seven = models.CurrencyField( blank=True, label="7) If proposer sends 7 points, you therefore receive 21 points. You would then return to the proposer", ) p2eight = models.CurrencyField( blank=True, label="8) If proposer sends 8 points, you therefore receive 24 points. You would then return to the proposer", ) p2nine = models.CurrencyField( blank=True, label="9) If proposer sends 9 points, you therefore receive 27 points. You would then return to the proposer", ) p2ten = models.CurrencyField( blank=True, label="10) If proposer sends 10 points, you therefore receive 30 points. You would then return to the proposer", ) class Player(BasePlayer): Paymentcode = models.IntegerField( label="Enter two digit secret code from the chit given to you. Please memorize the code and keep this chit carefully with you. You will need it to receive payments in the end.", max=80, min=11, )