diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-12-05 22:14:38 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-12-05 22:14:38 (GMT) |
commit | 1acf794d8ef72d1424a3ff3f6b00b63c73abd2d8 (patch) | |
tree | e6afb257f898239559fc76b2f758924c0574f20e /deck.py | |
parent | c2daa3ea24f91bbf3daa5711d0b5971a587eb610 (diff) |
cleaning up variable names
Diffstat (limited to 'deck.py')
-rw-r--r-- | deck.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ from card import * # class for defining deck of cards # class Deck: - def __init__(self, tw): + def __init__(self, vmw): # create the deck of cards self.deck = {} # remember the position in the deck @@ -44,7 +44,7 @@ class Deck: for color in range(0,COLORS): for num in range(0,NUMBER): for fill in range(0,FILLS): - self.deck[self.count] = Card(tw,shape,color,num,fill) + self.deck[self.count] = Card(vmw,shape,color,num,fill) self.count += 1 # shuffle the deck |