from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'instructions' PLAYERS_PER_GROUP = 3 NUM_ROUNDS = 2 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass # PAGES class Instructions(Page): @staticmethod def vars_for_template(player: Player): images = ["images/instructions1.png", "images/instructions2.png"] return dict( image = images[player.round_number-1], round = player.round_number ) class InstructionsWait(WaitPage): pass class Results(Page): pass page_sequence = [Instructions]