from otree.api import * from . import * class PlayerBot(Bot): cases = ["kick KICKED"] def play_round(self): if not self.player.participant.timeout: print(f"Skipping case {self.case}") return print(f"Playing case {self.case}") expect("You ran out of time", "in", self.html)