Mechaniky z předlohy: tři nuly, vynulování skóre, vyhlášení vítěze #1
@@ -148,9 +148,9 @@ def game():
|
|||||||
strikes: str = ""
|
strikes: str = ""
|
||||||
|
|
||||||
if len(hraci[pointer]) > 0:
|
if len(hraci[pointer]) > 0:
|
||||||
if hraci[pointer][-1:][0] == 0:
|
if hraci[pointer][-1] == 0:
|
||||||
strikes = "x"
|
strikes = "x"
|
||||||
if hraci[pointer][-2:][0] == 0:
|
if len(hraci[pointer]) > 1 and hraci[pointer][-2] == 0:
|
||||||
strikes += "x"
|
strikes += "x"
|
||||||
else:
|
else:
|
||||||
strikes = ""
|
strikes = ""
|
||||||
|
|||||||
Reference in new issue
Block a user