feature/vynulovani: přidána kondolenční hláška
This commit is contained in:
@@ -129,6 +129,8 @@ def evaluate(inp: Any, count: int, throw: str) -> tuple:
|
||||
last_two_sum = sum(last_two)
|
||||
if last_two_sum == 0:
|
||||
score = -sum(players[pointer])
|
||||
clear()
|
||||
input("Po třech nulových hodech bylo vaše skóre vynulováno.")
|
||||
|
||||
players[pointer].append(score)
|
||||
aggr[pointer] = sum(players[pointer])
|
||||
@@ -243,7 +245,7 @@ def game(data: tuple):
|
||||
strikes += "x"
|
||||
else:
|
||||
strikes = ""
|
||||
|
||||
|
||||
print(f"Na tahu je {pointer} ({aggr[pointer]}{strikes}).")
|
||||
print(show_throw(th))
|
||||
if not check_value(th) and data[2] == "" and count != 0:
|
||||
|
||||
Reference in New Issue
Block a user