from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Introduction(Page): form_model = 'player' class Decide(Page): form_model = 'player' form_fields = ['price'] class ResultsWaitPage(WaitPage): def after_all_players_arrive(self): self.group.set_payoffs() class Results(Page): form_model = 'player' page_sequence = [Introduction, Decide, ResultsWaitPage, Results]