# from otree.api import Currency as c from otree.constants import BaseConstants # # ******************************************************************************************************************** # # *** CLASS CONSTANTS *** # # ******************************************************************************************************************** # class Constants(BaseConstants): name_in_url = 'gneezy_potters' # group size players_per_group = None # endowment amount for each different round endowment = (10, 10, 10, 10) # probability of success probability = (1/2, 1/2, 1/2, 1/2) # multiplier = return rate + 1 multiplier = (1.7, 1.35, 1.5, 1.35) # multiplier2 = return rate2 + 1 multipliersecond = (0.7, 0.75, 0.80, 0.75) # the number of total rounds num_rounds = len(probability)