Remove every old-style class.
This commit is contained in:
parent
27b3592e16
commit
88074cd284
1 changed files with 56 additions and 56 deletions
|
|
@ -27,7 +27,7 @@ from logging import debug, info, error
|
|||
suits_order = ['pique', 'coeur', 'trefle', 'carreau', 'atout'] #I have switched the usual order 'trefle' and 'carreau' because card are more easy to see if suit colour change (black, red, black, red)
|
||||
values_order = map(str,range(1,11))+["valet","cavalier","dame","roi"]
|
||||
|
||||
class TarotCard():
|
||||
class TarotCard(object):
|
||||
"""This class is used to represent a car logically"""
|
||||
#TODO: move this in a library in tools, and share this with frontends (e.g. card_game in wix use the same class)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue