from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants from random import shuffle class intro(Page): pass class wait(WaitPage): def after_all_players_arrive(self): self.group.assign_names() class chat(Page): timeout_seconds = 300 class article(Page): pass class plignorance(Page): form_model = 'player' form_fields = ['plignorance1', 'plignorance2'] class plignorance2(Page): form_model = 'player' form_fields = ['filler3', 'filler4', 'filler5', 'filler6', 'filler7'] class plignorance3(Page): form_model = 'player' form_fields = ['filler1', 'filler2'] page_sequence = [ intro, article, wait, chat, plignorance2, plignorance, plignorance3, ]