9968068c by Barry

Typo bug

1 parent 100769b5
......@@ -87,7 +87,7 @@ class Blackjack:
self.player_hand.add_cards(self.deck.draw(1))
def dealer_draw(self):
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()):
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()):
self.dealer_hand.add_cards(self.deck.draw(1))
def is_busted(self):
......
No preview for this file type