redundant
This commit is contained in:
parent
8af654353b
commit
b666aa803b
2 changed files with 0 additions and 5 deletions
|
@ -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():
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue