Beispiel #1
0
 def one_step(self):
     self.time_frame += 1
     self.send_to_bot(CM.pack_request_for_step(self.run_number, self.time_frame, CM.TELEPORT, self.p))
     self.receive_from_bot()
Beispiel #2
0
 def process_step(self):
     if self.game_run is None or self.cat_direction is None:
         return
     self.send_to_bot(
         CM.pack_request_for_step(self.game_run.run_number, self.time_frame, self.cat_direction, self.p))
     self.receive_from_bot()