from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'Your name here' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'krupkaweber' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): def vars_for_admin_report(self): pass class Group(BaseGroup): pass class Player(BasePlayer): rating1 = models.IntegerField(verbose_name='A keeps 10$ and gives nothing to B', choices=[(1, 'very socially inappropriate'), (2, 'somewhat socially inappropriate'), (3, 'somewhat socially appropriate'), (4, 'very socially appropriate')]) rating2 = models.IntegerField(verbose_name='A keeps 8$ and gives 2$ to B', choices=[(1, 'very socially inappropriate'), (2, 'somewhat socially inappropriate'), (3, 'somewhat socially appropriate'), (4, 'very socially appropriate')]) rating3 = models.IntegerField(verbose_name='A keeps 5$ and gives 5$ to B', choices=[(1, 'very socially inappropriate'), (2, 'somewhat socially inappropriate'), (3, 'somewhat socially appropriate'), (4, 'very socially appropriate')]) rating4 = models.IntegerField(verbose_name='A keeps 3$ and gives 7$ to B', choices=[(1, 'very socially inappropriate'), (2, 'somewhat socially inappropriate'), (3, 'somewhat socially appropriate'), (4, 'very socially appropriate')],)