feature: multiplayer – registrace hráčů, střídání tahů a agregace skóre #9
@@ -90,6 +90,9 @@ def evaluate(inp: Any, count: int, throw: str) -> tuple:
|
|||||||
|
|
||||||
data = ("count", new_count, old_throw)
|
data = ("count", new_count, old_throw)
|
||||||
return data
|
return data
|
||||||
|
elif inp == "h":
|
||||||
|
data = ("count", count, "")
|
||||||
|
return data
|
||||||
|
|
||||||
def check_value(throw: str) -> bool:
|
def check_value(throw: str) -> bool:
|
||||||
throw_s = sorted(throw)
|
throw_s = sorted(throw)
|
||||||
|
|||||||
Reference in New Issue
Block a user