from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'prisoners_dilemma' PLAYERS_PER_GROUP = 2 # or a number like 2, 3, 4 NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): # Add your fields here # Example: # name = models.StringField(label="What is your name?") # age = models.IntegerField(label="What is your age?") pass # PAGES class MyPage(Page): form_model = 'player' # form_fields = ['name', 'age'] # Uncomment and match your Player fields class Results(Page): pass page_sequence = [MyPage, Results]