43 lines
		
	
	
		
			646 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			43 lines
		
	
	
		
			646 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|  | from otree.api import ( | ||
|  |     models, | ||
|  |     widgets, | ||
|  |     BaseConstants, | ||
|  |     BaseSubsession, | ||
|  |     BaseGroup, | ||
|  |     BasePlayer, | ||
|  |     Currency as c, | ||
|  |     currency_range, | ||
|  | ) | ||
|  | 
 | ||
|  | doc = """
 | ||
|  | author = 'Wael Bousselmi' | ||
|  | Exp E4C | ||
|  | """
 | ||
|  | 
 | ||
|  | 
 | ||
|  | class Constants(BaseConstants): | ||
|  |     name_in_url = 'a3_welcome' | ||
|  |     players_per_group = None | ||
|  |     num_rounds = 1 | ||
|  | 
 | ||
|  | 
 | ||
|  | class Subsession(BaseSubsession): | ||
|  |     pass | ||
|  | 
 | ||
|  | class Group(BaseGroup): | ||
|  |     pass | ||
|  | 
 | ||
|  | class Player(BasePlayer): | ||
|  |     game_num = models.IntegerField(initial=0) | ||
|  |     app_sequence_select = models.IntegerField(initial=1) | ||
|  |     app_sequence_select_n = models.StringField() | ||
|  |     questionnaire_before = models.IntegerField(initial=0) | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 | ||
|  | 
 |