from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) author = 'Shuya Fujita' doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'experiment_HS' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): consumption_A1 = models.IntegerField() consumption_A2 = models.IntegerField() saving_A1 = models.IntegerField() saving_A2 = models.IntegerField() income_A = models.IntegerField() consumption_C1 = models.IntegerField() saving_C1 = models.IntegerField() consumption_C2 = models.IntegerField() point_A = models.IntegerField() point_C = models.IntegerField() child = models.StringField() child_number = models.IntegerField()