def prepare(self, concept):
        if isinstance(concept, events.ArrivalEvent):
            self.maybeChallenge()
        elif isinstance(concept, events.DepartureEvent) and self._numDudes() == 0:
            self.stopChallenging()
        elif isinstance(concept, events.SpeechEvent) and concept.speaker is not self._actor().thing:
            self.responseReceived(concept.speaker, concept.text)
        return lambda: None
An event was received. Start or stop challenging as
dataset/ETHPy150Open twisted/imaginary/ExampleGame/examplegame/mice.py/HiraganaMouse.prepare