from otree.api import Currency as c, currency_range, expect, Bot from . import * import time class PlayerBot(Bot): round = 1 def play_round(self): yield Submission(Default, check_html=False) #yield Submission(WaitPageRound, check_html=False) yield Submission(RoundResultsPage, check_html = False) def call_live_method(method, **kwargs): if kwargs["page_class"].__name__ == "Default": for i in range(1,5): method(i, {"extraction": 11, "time_1st_change_button":0, "time_spent_dialog":0, "number_changes":0, "time_spent_round":0, "completed_round":True}) else: for i in range(1,5): method(i, {"type": "wait_page"})