from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) import random author = 'Laura' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'pre_quiz' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): aufbau = models.IntegerField( choices=[ [1, ''], [2, ''], [3, ''], [4, ''], [5, ''], [6, ''], [7, ''], ], widget=widgets.RadioSelect ) kategorien = models.IntegerField( choices=[16, 8, 12, 4], widget=widgets.RadioSelect ) menge = models.IntegerField( choices=[12, 4, 20, 16], widget=widgets.RadioSelect )