def report_board_finished(self, board): worker.execute(self._report_board_finished, board)
def report_board_started(self, board, player1, player2): rating1 = self.get_rating(player1) rating2 = self.get_rating(player2) worker.execute(self._report_board_started, board, player1, rating1, player2, rating2)
def report_move(self, board): worker.execute(self._report_move, board, board.moves[-1])
def report_win(self, winner, looser, board): worker.execute(self._report_win, winner, looser, board)
def report_invalid_move(self, player, x, y, board): worker.execute(self._report_invalid_move, player, x, y, board)
def room_ends(self, room): worker.execute(self._room_ends, room)
def find_opponent_for(self, player): worker.execute(self._find_opponent_for, player)
def register_player(self, player): worker.execute(self._register_player, player)