diff options
author | Walter Bender <walter@walter-laptop.(none)> | 2009-12-22 00:00:59 (GMT) |
---|---|---|
committer | Walter Bender <walter@walter-laptop.(none)> | 2009-12-22 00:00:59 (GMT) |
commit | bf28eb1b239ebb2d0102e3de07b86d62dd94bcc6 (patch) | |
tree | ed4e78bdf66acc492a01f89638d9c2b9d0dcd427 /grid.py | |
parent | 790ac77f7c84d800142cf62f5837672fb2cc1a54 (diff) |
cleaned up comments
Diffstat (limited to 'grid.py')
-rw-r--r-- | grid.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -73,7 +73,7 @@ class Grid: def deal_extra_cards(self, vmw): # if there are still cards in the deck and only 12 cards in the grid if vmw.deck.empty() is False and self.cards == DEAL: - # add 3 extra cards to the playing field + # add three extra cards to the playing field for c in range(0,COL): i = self.grid.index(None) self.grid[i] = vmw.deck.deal_next_card() @@ -92,8 +92,6 @@ class Grid: if vmw.deck.empty(): self.grid[i] = None else: - # print "new card (%d) to grid position %d" % \ - # (vmw.deck.index,i) # save card in grid position of card we are replacing self.grid[i] = vmw.deck.deal_next_card() self.place_a_card(self.grid[i],a.x,a.y) |