from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) import random import csv import json author = 'Your name here' doc = """ Block 1 """ class Constants(BaseConstants): name_in_url = 'block_1' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): splitchoice = models.CharField() beliefsplit = models.IntegerField(label='Inserisci un numero intero tra 0 e 20', min=0, max=20) proposerchoice = models.CharField() beliefproposer = models.IntegerField(label='Inserisci un numero intero tra 0 e 20', min=0, max=20) responderchoice = models.CharField() beliefresponder = models.IntegerField(label='Inserisci un numero intero tra 0 e 20', min=0, max=20)