import numpy as np from numpy import log as ln import math from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'introduction' PLAYERS_PER_GROUP = 2 INSTRUCTIONS_TEMPLATE = 'introduction/introduction.html' NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass # PAGES class introduction_1(Page): @staticmethod def vars_for_template(player: Player): return dict(image_path1="display_image/1.mp4") class introduction_2(Page): @staticmethod def vars_for_template(player: Player): return dict(image_path2="display_image/2.mp4") class introduction_3(Page): @staticmethod def vars_for_template(player: Player): return dict(image_path3="display_image/3.mp4") class introduction_4(Page): @staticmethod def vars_for_template(player: Player): return dict(image_path4="display_image/4.mp4") class introduction_5(Page): @staticmethod def vars_for_template(player: Player): return dict(image_path5="display_image/5.mp4") class ResultsWaitPage(WaitPage): pass class Results(Page): pass page_sequence = [introduction_1,introduction_2,introduction_3,introduction_4,introduction_5]