Example #1
0
 def __init__(self, window):
     GamePage.__init__(self, window)
     self.game_id = None
     self.is_player2 = False
     self.is_my_turn = None
     self.createWidgets(window)
     self.connectAsync("awale_played", self.onPlayed)
     self.connectAsync("awale_collected", self.onCollected)
Example #2
0
 def __init__(self, window):
     GamePage.__init__(self, window)
     self.createWidgets(window)
     self.connectAsync(u'mille_bornes_play', self.onPlay)
     self.connectAsync(u'game_turn', self.onTurn)