Skip to content

Commit e12a33e

Browse files
committed
Removed redundant initialization of Dealer
1 parent 2b21c17 commit e12a33e

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

71_Poker/python/players/dealer.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,6 @@ class Strategy(Enum):
2525
hand_is_weak: bool
2626
bluff_discard_count: int | None
2727

28-
def __init__(self, money: int) -> None:
29-
"""Initialize the computer dealer's starting state."""
30-
super().__init__(money)
31-
self.strategy = Dealer.Strategy.NORMAL
32-
self.bet_base = 0
33-
self.was_bluffing = False
34-
self.hand_is_weak = False
35-
self.bluff_discard_count = None
36-
3728
def receive_new_hand(self, hand: Hand) -> None:
3829
"""Reset per-round state and receive a new hand."""
3930
super().receive_new_hand(hand)

0 commit comments

Comments
 (0)