Refactoring: typové anotace a úklid #23

Merged
david-spacil merged 5 commits from refactoring into version/v0.2.0 2026-06-27 12:59:09 +02:00
Showing only changes of commit 26ad8508b5 - Show all commits
+2 -2
View File
@@ -234,7 +234,7 @@ def game(data: tuple) -> None:
if(th == ""): if(th == ""):
th = throw(count) th = throw(count)
clear() clear()
print(f"Vítězné skóre: {final_score}.") # print(f"Vítězné skóre: {final_score}.")
strikes: str = "" strikes: str = ""
@@ -246,7 +246,7 @@ def game(data: tuple) -> None:
else: else:
strikes = "" strikes = ""
print(f"Na tahu je {pointer} ({aggr[pointer]}{strikes}).") print(f"Na tahu je {pointer} ({aggr[pointer]}{strikes}/{final_score}).")
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:
global score global score