示例#1
0
 def display_msg(self, author, msg):
     self.conn.send(
         *rpcializer.game(self.game, 'MSG', rpcializer.raw(msg))
     )
示例#2
0
 def player_quit(self, player):
     self.conn.send(
         *rpcializer.game(self.game, 'QUIT')
     )
示例#3
0
 def display_turn(self, player, turn):
     self.conn.send(
         *rpcializer.game(self.game, 'TURN', rpcializer.raw(turn))
     )