Mercurial > libervia-backend
comparison src/tools/games.py @ 587:952322b1d490
Remove trailing whitespaces.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:34 +0100 |
parents | ca13633d3b6b |
children | beaf6bec2fcd |
comparison
equal
deleted
inserted
replaced
586:6a718ede8be1 | 587:952322b1d490 |
---|---|
21 | 21 |
22 from logging import debug, info, error | 22 from logging import debug, info, error |
23 | 23 |
24 """This library help manage general games (e.g. card games)""" | 24 """This library help manage general games (e.g. card games)""" |
25 | 25 |
26 | 26 |
27 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) | 27 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) |
28 values_order = map(str,range(1,11))+["valet","cavalier","dame","roi"] | 28 values_order = map(str,range(1,11))+["valet","cavalier","dame","roi"] |
29 | 29 |
30 class TarotCard(): | 30 class TarotCard(): |
31 """This class is used to represent a car logically""" | 31 """This class is used to represent a car logically""" |