do not begin with special card
This commit is contained in:
parent
c5c314a9b1
commit
daa211b692
1 changed files with 6 additions and 0 deletions
6
game.py
6
game.py
|
@ -15,6 +15,12 @@ class Game(object):
|
|||
def __init__(self):
|
||||
self.deck = Deck()
|
||||
self.last_card = self.deck.draw()
|
||||
|
||||
while self.last_card.special:
|
||||
self.deck.dismiss(self.last_card)
|
||||
self.deck.shuffle()
|
||||
self.last_card = self.deck.draw()
|
||||
|
||||
self.logger = logging.getLogger(__name__)
|
||||
|
||||
def reverse(self):
|
||||
|
|
Loading…
Reference in a new issue