minor bug fixes

This commit is contained in:
Steinadler 2021-01-14 11:58:47 +01:00
parent 8277c96938
commit 897f9d8375
1 changed files with 6 additions and 0 deletions

View File

@ -89,6 +89,9 @@ def round(card_stack, players_with_cards, players, active, complete_card_stack,
steal(active, chosen_player, players_with_cards, player_request)
drop_cards(players_with_cards, all_quartets, active)
if not players_with_cards[active]['cards_on_hand']:
switch = False
else:
print("Diese Karte hat der Spieler nicht. Der nächste Spieler ist dran...")
time.sleep(total_time)
@ -134,6 +137,9 @@ def round(card_stack, players_with_cards, players, active, complete_card_stack,
steal(active, chosen_player, players_with_cards, player_request)
drop_cards(players_with_cards, all_quartets, active)
if not players_with_cards[active]['cards_on_hand']:
switch = False
else:
if players[chosen_player] == "player0":
print(f"Du hast die Karte {player_request['number']}{player_request['letter']}"