mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-22 15:16:33 -08:00
Fixed bug in acey-ducey range.
This commit is contained in:
@@ -36,7 +36,7 @@ class Deck:
|
|||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
for suit in ['\u2665', '\u2666', '\u2663', '\u2660']:
|
for suit in ['\u2665', '\u2666', '\u2663', '\u2660']:
|
||||||
for rank in range(1, 14):
|
for rank in range(2, 15):
|
||||||
self.cards.append(Card(suit, rank))
|
self.cards.append(Card(suit, rank))
|
||||||
|
|
||||||
def shuffle(self):
|
def shuffle(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user