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