change Chipes type from int to float
This commit is contained in:
@@ -5,7 +5,7 @@ from pyjack.deck import Deck
|
|||||||
class Player:
|
class Player:
|
||||||
"""Sets up the player's name, starting chips, and a new Hand object."""
|
"""Sets up the player's name, starting chips, and a new Hand object."""
|
||||||
|
|
||||||
def __init__(self, chips: int) -> None:
|
def __init__(self, chips: float) -> None:
|
||||||
self.hand = Hand()
|
self.hand = Hand()
|
||||||
self.chips = chips
|
self.chips = chips
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user