from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'AS' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'trustGame_0ManipulationCheck' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass def make_field(label): return models.IntegerField( choices=[1, 0], label=label, widget=widgets.RadioSelect, ) class Player(BasePlayer): def role(self): return {1: 'A', 2: 'B'}[self.id_in_group] mc_1 = models.BooleanField(label="The amount of ECUs participant A will send to participant B is linked to his pseudonym.") mc_2 = models.BooleanField(label="Participant B gets 3 times the amount of ECUs that were sent by participant A.") mc_3 = models.BooleanField(label="Participant B does not have the chance to send ECUs back to participant A.")