from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Intro(Page): pass class Quiz(Page): form_model = 'player' form_fields = ['goal', 'numberOfRounds', 'rotationAllowed', 'move'] class PageB(Page): form_model = 'player' form_fields = ['bx1', 'by1', 'bx2', 'by2', 'bx3', 'by3', 'bx4', 'by4', 'bx5', 'by5', 'bx6', 'by6', 'bx7', 'by7', 'bx8', 'by8', 'bx9', 'by9', 'bx10', 'by10', 'bx11', 'by11', 'bx12', 'by12', 'bx13', 'by13', 'bx14', 'by14', 'bx15', 'by15', 'bseq1', 'bseq2', 'bseq3', 'bseq4', 'bseq5', 'bseq6', 'bseq7', 'bseq8', 'bseq9', 'bseq10', 'bseq11', 'bseq12', 'bseq13', 'bseq14', 'bseq15', 'bHighestPoint', 'bRotationCounter'] class PageC(Page): form_model = 'player' form_fields = ['cx1', 'cy1', 'cx2', 'cy2', 'cx3', 'cy3', 'cx4', 'cy4', 'cx5', 'cy5', 'cx6', 'cy6', 'cx7', 'cy7', 'cx8', 'cy8', 'cx9', 'cy9', 'cx10', 'cy10', 'cx11', 'cy11', 'cx12', 'cy12', 'cx13', 'cy13', 'cx14', 'cy14', 'cx15', 'cy15', 'cseq1', 'cseq2', 'cseq3', 'cseq4', 'cseq5', 'cseq6', 'cseq7', 'cseq8', 'cseq9', 'cseq10', 'cseq11', 'cseq12', 'cseq13', 'cseq14', 'cseq15', 'cHighestPoint', 'cRotationCounter'] class Questionnaire(Page): form_model = 'player' form_fields = ['age', 'gender', 'method', 'explain'] class Results(Page): pass page_sequence = [ Intro, Quiz, # PageA, PageB, PageC, # PageD, #Questionnaire, Results ]