from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'William Brown' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'social_value_orientation' players_per_group = 2 num_rounds = 6 class Subsession(BaseSubsession): def creating_session(self): self.group_randomly() class Group(BaseGroup): pass class Player(BasePlayer): Question1 = models.IntegerField( choices=[1, 2, 3, 4, 5, 6, 7, 8, 9], widget=widgets.RadioSelectHorizontal, ) Question2 = models.IntegerField( choices=[1, 2, 3, 4, 5, 6, 7, 8, 9], widget=widgets.RadioSelectHorizontal, ) Question3 = models.IntegerField( choices=[1, 2, 3, 4, 5, 6, 7, 8, 9], widget=widgets.RadioSelectHorizontal, ) Question4 = models.IntegerField( choices=[1, 2, 3, 4, 5, 6, 7, 8, 9], widget=widgets.RadioSelectHorizontal, ) Question5 = models.IntegerField( choices=[1, 2, 3, 4, 5, 6, 7, 8, 9], widget=widgets.RadioSelectHorizontal, ) Question6 = models.IntegerField( choices=[1, 2, 3, 4, 5, 6, 7, 8, 9], widget=widgets.RadioSelectHorizontal, )