comparison frontends/src/quick_frontend/quick_card_game.py @ 329:be9f682c53a5

QuickApp: autoplay deactivated in Tarot game
author Goffi <goffi@goffi.org>
date Mon, 23 May 2011 01:01:44 +0200
parents 809733b8d9be
children cf005701624b
comparison
equal deleted inserted replaced
328:809733b8d9be 329:be9f682c53a5
25 25
26 26
27 class QuickCardGame(): 27 class QuickCardGame():
28 28
29 def __init__(self, parent, referee, players, player_nick): 29 def __init__(self, parent, referee, players, player_nick):
30 self._autoplay = 0 #None #XXX: use 0 to activate fake play, None else 30 self._autoplay = None #XXX: use 0 to activate fake play, None else
31 self.parent = parent 31 self.parent = parent
32 self.referee = referee 32 self.referee = referee
33 self.players = players 33 self.players = players
34 self.played = {} 34 self.played = {}
35 for player in players: 35 for player in players: