from otree.api import * doc = """ welcoming the participants and general introduction of the experiment """ class C(BaseConstants): NAME_IN_URL = 'General_Intro' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 INSTRUCTIONS_TEMPLATE = 'General_Intro/instructions.html' INSTRUCTIONS_TEMPLATE_2 = 'General_Intro/instructions_2.html' INSTRUCTIONS_TEMPLATE_3 = 'General_Intro/instructions_3.html' INSTRUCTIONS_TEMPLATE_4 = 'General_Intro/instructions_4.html' class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass # PAGES class Welcome(Page): @staticmethod def is_displayed(player): return player.round_number == 1 class Genel(Page): pass class Genel_2(Page): pass class Genel_3(Page): pass class IntroWaitPage(WaitPage): wait_for_all_groups = True page_sequence = [Welcome, Genel, Genel_2, Genel_3, IntroWaitPage]