made some updates to card and dealer to deal with face cards

This commit is contained in:
jandrews
2025-12-18 10:57:32 -05:00
parent 7d7d2a71d1
commit 95ae6740d3
3 changed files with 36 additions and 5 deletions

View File

@@ -11,5 +11,9 @@ class Card:
def deal(self):
self.face = randint(1, 11)
#I think here we should return 1-13 to include ace and face cards.
#This will make checking if 4 of a kind have been dealt easier.
#THEN when it comes to scoring we can use the value to calculate face cards as 10 points.
return self.face