comparison frontends/wix/card_game.py @ 185:fd2db62ea5eb

minor deletions
author Goffi <goffi@goffi.org>
date Wed, 18 Aug 2010 16:11:01 +0800
parents ae50b53ff868
children d55e56a55cad
comparison
equal deleted inserted replaced
184:8ea1510d474b 185:fd2db62ea5eb
235 if answer == wx.ID_YES: 235 if answer == wx.ID_YES:
236 ecart = [] 236 ecart = []
237 for card in self.selected: 237 for card in self.selected:
238 ecart.append((card.suit, card.value)) 238 ecart.append((card.suit, card.value))
239 self.hand.remove(card) 239 self.hand.remove(card)
240 print "gof: Cartes envoyes au chien:", ecart
241 del self.selected[:] 240 del self.selected[:]
242 self.parent.host.bridge.tarotGamePlayCards(self.player_nick, self.referee, ecart, profile_key = self.parent.host.profile) 241 self.parent.host.bridge.tarotGamePlayCards(self.player_nick, self.referee, ecart, profile_key = self.parent.host.profile)
243 self.state = "wait" 242 self.state = "wait"
244 243
245 self._recalc_ori() 244 self._recalc_ori()