from otree.api import * import random doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'try_deploy' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass # PAGES class MyPage(Page): @staticmethod def vars_for_template(player: Player): number_1 = random.randint(1, 100) number_2 = random.randint(1, 100) return { "number_1": number_1, "number_2": number_2, } class ResultsWaitPage(WaitPage): pass class Results(Page): pass page_sequence = [MyPage, ResultsWaitPage, Results]