From 83f4a222ade3891956df80554058a10a8dc1f3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sp=C3=A1=C4=8Dil?= Date: Tue, 23 Jun 2026 21:49:40 +0200 Subject: [PATCH] =?UTF-8?q?feature/hraci:=20hod=20s=20nulovou=20hodnotou?= =?UTF-8?q?=20zap=C3=AD=C5=A1e=200=20bod=C5=AF=20a=20p=C5=99epne=20na=20da?= =?UTF-8?q?l=C5=A1=C3=ADho=20hr=C3=A1=C4=8De?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 8250dec..1306607 100644 --- a/main.py +++ b/main.py @@ -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