feature/hraci: hod s nulovou hodnotou zapíše 0 bodů a přepne na dalšího hráče
This commit is contained in:
1 parent
61dc5056ff
commit
83f4a222ad
1 file changed
+5
-1
@@ -162,7 +162,11 @@ def game(data: tuple):
|
|||||||
clear()
|
clear()
|
||||||
print(show_throw(th))
|
print(show_throw(th))
|
||||||
if not check_value(th) and data[2] == "" and count != 0:
|
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:
|
else:
|
||||||
if count == 0:
|
if count == 0:
|
||||||
count = 6
|
count = 6
|
||||||
|
|||||||
Reference in new issue
Block a user