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 = 'mycentipede' players_per_group = 2 num_rounds = 2 st11=1 st12=1 st21=0 st22=4 st31=3 st32=3 st41=2 st42=0 st1=3 st2=3 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): Choice_1 = models.IntegerField( choices=['continue','stop'], doc="""centipede choice round 1""", widget=widgets.RadioSelectHorizontal ) Choice_2 = models.IntegerField( choices=['continue', 'stop'], doc="""centipede choice round 1""", widget=widgets.RadioSelectHorizontal ) Choice_3 = models.IntegerField( choices=['continue', 'stop'], doc="""centipede choice round 1""", widget=widgets.RadioSelectHorizontal ) Choice_4 = models.IntegerField( choices=['continue', 'stop'], doc="""centipede choice round 1""", widget=widgets.RadioSelectHorizontal )