připočtení skóre
This commit is contained in:
1 parent
deb49db35c
commit
6bc638d423
1 file changed
+4
@@ -61,6 +61,10 @@ def table():
|
|||||||
|
|
||||||
return tabulate(hraci_tab, headers=table_header, tablefmt="fancy_grid")
|
return tabulate(hraci_tab, headers=table_header, tablefmt="fancy_grid")
|
||||||
|
|
||||||
|
def add_score(hrac, hodnota):
|
||||||
|
hraci[hrac].append(hodnota)
|
||||||
|
score[hrac] += hodnota
|
||||||
|
|
||||||
def game():
|
def game():
|
||||||
while True:
|
while True:
|
||||||
clear()
|
clear()
|
||||||
|
|||||||
Reference in new issue
Block a user