from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range, ) author = 'Lilian Friedrich' doc = """ These are interactive scenes in order to pre-validate the scenario. """ class Constants(BaseConstants): name_in_url = 'Scenes' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): choice1 = models.FloatField( label="Please select a suitable option for you and your team:", choices=[ [2, "Choice A"], [1, "Choice B"], [0, "Choice C"] ], widget=widgets.RadioSelectHorizontal, ) choice2 = models.FloatField( label="Please select a suitable option for you and your team:", choices=[ [2, "Choice A"], [1, "Choice B"], [0, "Choice C"] ], widget=widgets.RadioSelectHorizontal, )