from . import models from ._builtin import Page, WaitPage from otree.api import Currency as c, currency_range from .models import Constants class Introduction(Page): """Description of the game: How to play and returns expected""" def is_displayed(self): self.subsession.get_game() return self.round_number == 1 pass class gate(Page): timeout_seconds = 60 def is_displayed(self): if self.round_number == 1: return True return False class gate_timeout(Page): def is_displayed(self): if self.round_number == 1: return True return False pass page_sequence = [ Introduction, gate, gate_timeout, ]