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