redundant

This commit is contained in:
Adam 2022-12-29 22:33:26 -05:00
parent 8af654353b
commit b666aa803b
2 changed files with 0 additions and 5 deletions

View file

@ -18,9 +18,6 @@ def main():
while game.active:
ui.update(game)
for player in game.players:
if player.blackjack(game):
game.active = False
if game.active:
match ui.player_move(deck).lower():

View file

@ -6,7 +6,6 @@ class GameMaster:
self.players = [Player('Dealer'), Player('Player')] # 5-9 seats
self.dealer = self.players[0]
self.player = self.players[1]
self.blackjack = False
def score(self):
status = 'Error'
@ -27,7 +26,6 @@ class GameMaster:
status = player.name + ' Bust!'
elif player.blackjack(self):
self.active = False
self.blackjack = True
status = player.name + ' has Blackjack!'
return status