from ._builtin import Page, WaitPage
from otree.api import Currency as c, currency_range
from .models import Constants

import random
import time


class Welcome(Page):
    form_model = 'player'
    form_fields = []

class Questionnaire(Page):
    form_model = 'player'
    form_fields = ['genre', 'age','pays', 'code_postal','salaire',
                   'socio_pro', 'annee_naissance','etudes', 'police_question1',
                   'police_question2', 'police_question3'
                   ]

class Result(Page):
    form_model = 'player'
    form_fields = []

page_sequence = [
    Welcome,
    Questionnaire,
]

