Mercurial > libervia-backend
changeset 158:74aaf230a7c3
wix, quick_frontend: deactivated autoplay in Tarot game
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 04 Aug 2010 17:53:20 +0800 |
parents | 13888bdb72b6 |
children | 2fa58703f1b7 |
files | frontends/quick_frontend/quick_card_game.py frontends/wix/card_game.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/quick_frontend/quick_card_game.py Wed Aug 04 12:01:07 2010 +0800 +++ b/frontends/quick_frontend/quick_card_game.py Wed Aug 04 17:53:20 2010 +0800 @@ -101,7 +101,7 @@ if self.state == "chien": self.to_show = [] self.state = "play" - self.__fakePlay() #gof: + #self.__fakePlay() #gof: def __fakePlay(self): """Convenience method for stupid autoplay @@ -149,5 +149,5 @@ self.hand.append(self.cards[suit, value]) self.hand.sort() - self.__fakePlay() #gof: + #self.__fakePlay() #gof:
--- a/frontends/wix/card_game.py Wed Aug 04 12:01:07 2010 +0800 +++ b/frontends/wix/card_game.py Wed Aug 04 17:53:20 2010 +0800 @@ -121,7 +121,7 @@ self._recalc_ori() self.Refresh() - #gof: wx.MessageDialog(self, _("Cards played are invalid !"), _("Error"), wx.OK | wx.ICON_ERROR).ShowModal() + wx.MessageDialog(self, _("Cards played are invalid !"), _("Error"), wx.OK | wx.ICON_ERROR).ShowModal() def _is_on_hand(self, pos_x, pos_y): """Return True if the coordinate are on the hand cards"""