comparison frontends/quick_frontend/quick_app.py @ 150:63d20bda5754

Primitivus: Tarot game Tarot game is now playable, scores are not showed yet.
author Goffi <goffi@goffi.org>
date Wed, 28 Jul 2010 19:58:10 +0800
parents 80661755ea8d
children 2fa58703f1b7
comparison
equal deleted inserted replaced
149:3c3f70c01333 150:63d20bda5754
314 def tarotMyTurn(self, room_jid, profile): 314 def tarotMyTurn(self, room_jid, profile):
315 if not self.check_profile(profile): 315 if not self.check_profile(profile):
316 return 316 return
317 debug (_("My turn to play")) 317 debug (_("My turn to play"))
318 if self.chat_wins.has_key(room_jid): 318 if self.chat_wins.has_key(room_jid):
319 self.chat_wins[room_jid].getGame("Tarot").MyTurn() 319 self.chat_wins[room_jid].getGame("Tarot").myTurn()
320 320
321 def tarotScore(self, room_jid, xml_data, winners, loosers, profile): 321 def tarotScore(self, room_jid, xml_data, winners, loosers, profile):
322 """Called when the game is finished and the score are updated""" 322 """Called when the game is finished and the score are updated"""
323 if not self.check_profile(profile): 323 if not self.check_profile(profile):
324 return 324 return