Typo bug
Showing
2 changed files
with
1 additions
and
1 deletions
... | @@ -87,7 +87,7 @@ class Blackjack: | ... | @@ -87,7 +87,7 @@ class Blackjack: |
87 | self.player_hand.add_cards(self.deck.draw(1)) | 87 | self.player_hand.add_cards(self.deck.draw(1)) |
88 | 88 | ||
89 | def dealer_draw(self): | 89 | def dealer_draw(self): |
90 | while self.player_hand.get_points() <= 21 and (self.dealer_hand.get_points() < 17 or self.dealer_hand.get_points() < self.player_hand.get_points()): | 90 | while self.dealer_hand.get_points() <= 21 and (self.dealer_hand.get_points() < 17 or self.dealer_hand.get_points() < self.player_hand.get_points()): |
91 | self.dealer_hand.add_cards(self.deck.draw(1)) | 91 | self.dealer_hand.add_cards(self.deck.draw(1)) |
92 | 92 | ||
93 | def is_busted(self): | 93 | def is_busted(self): | ... | ... |
No preview for this file type
-
Please register or sign in to post a comment