def display_msg(self, author, msg): self.conn.send( *rpcializer.game(self.game, 'MSG', rpcializer.raw(msg)) )
def player_quit(self, player): self.conn.send( *rpcializer.game(self.game, 'QUIT') )
def display_turn(self, player, turn): self.conn.send( *rpcializer.game(self.game, 'TURN', rpcializer.raw(turn)) )