from otree.api import Currency as c, currency_range from . import models from ._builtin import Page, WaitPage from .models import Constants class Instructions1(Page): pass class Instructions2(Page): pass class WorkPage(Page): timer_text = 'Time left to complete this round:' timeout_seconds = Constants.task_time def before_next_page(self): self.player.payoff = c(self.player.solved_tasks) page_sequence = [ Instructions1, Instructions2, WorkPage, ]