from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class ResultsWaitPage1(WaitPage): title_text = "Waiting for group members" body_text = "As soon as two other group members are present, we can start with the study. Please wait for two others to arrive, so that we can form a three-person group. Please be patient, sometimes it can take a few minutes." class Chat(Page): timeout_seconds = 300 def is_displayed(self): return self.participant.vars['communication'] == True #class ResultsWaitPage(WaitPage): # def after_all_players_arrive(self): # pass page_sequence = [ResultsWaitPage1, Chat]