feature: multiplayer – registrace hráčů, střídání tahů a agregace skóre #9
@@ -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