class documentation
class User: (source)
user object
| Method | __eq__ |
makes the user comparable with a string, equal if nick matches the string |
| Method | __init__ |
set nick and give the user the initial cards |
| Method | __str__ |
returns the nick |
| Method | __unicode__ |
returns the nick |
| Method | get |
add cards to the user cards |
| Method | give |
substract the cards from the user cards, if the user has them. throws an exception else. |
| Instance Variable | cards |
Undocumented |
| Instance Variable | nick |
Undocumented |