generated from mwc/project_game
updated card mapping
This commit is contained in:
2
card.py
2
card.py
@@ -10,7 +10,7 @@ class Card:
|
||||
return str(self.face)
|
||||
|
||||
def deal(self):
|
||||
self.face = randint(1, 11)
|
||||
self.face = randint(1, 13)
|
||||
#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.
|
||||
|
||||
Reference in New Issue
Block a user