from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from . import models from .models import Constants class MyPage(Page): pass class ResultsWaitPage(WaitPage): def after_all_players_arrive(self): pass class Results(Page): pass class Introduction(Page): # timeout_seconds = 600 def is_displayed(self): return self.round_number == 1 class Selection(Page): form_model = models.Player form_fields = ['number_chosen'] def vars_for_template(self): self.player.set_mult_factors() page_sequence = [ Introduction, Selection ]