feature/hraci: hod s nulovou hodnotou zapíše 0 bodů a přepne na dalšího hráče

This commit is contained in:
2026-06-23 21:49:40 +02:00
parent 61dc5056ff
commit 83f4a222ad
+5 -1
View File
@@ -162,7 +162,11 @@ def game(data: tuple):
clear()
print(show_throw(th))
if not check_value(th) and data[2] == "" and count != 0:
print("Smůla, třeba příště.")
global score
score = 0
input("Oh no... anyway.")
data = evaluate("k", count, th)
game(data)
else:
if count == 0:
count = 6