from otree.api import * doc = """ Introduction """ class C(BaseConstants): NAME_IN_URL = 'introduction' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass def set_payoffs(player: Player) -> object: player.payoff = 0 # PAGES class IntroPage(Page): @staticmethod def before_next_page(player: Player, timeout_happened): set_payoffs(player) page_sequence = [IntroPage]