working game?

This commit is contained in:
Jake Pullen
2024-06-08 09:26:44 +01:00
parent 493c38892b
commit 5bbda755af
6 changed files with 75 additions and 34 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class deck:
def build(self):
for suit in ["Spades", "Hearts", "Diamonds", "Clubs"]:
for value in range(1, 14):
self.cards.append( card(value, suit) )
self.cards.append( card(suit=suit, value=value) )
def show(self):
for card in self.cards: