From 6bc638d42315dee54905ab2dff025968a1e8b54e Mon Sep 17 00:00:00 2001 From: gitea-actions Date: Wed, 19 Aug 2026 22:31:16 +0200 Subject: [PATCH] =?UTF-8?q?p=C5=99ipo=C4=8Dten=C3=AD=20sk=C3=B3re?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dice.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dice.py b/dice.py index 69ab5df..58724c2 100644 --- a/dice.py +++ b/dice.py @@ -61,6 +61,10 @@ def table(): return tabulate(hraci_tab, headers=table_header, tablefmt="fancy_grid") +def add_score(hrac, hodnota): + hraci[hrac].append(hodnota) + score[hrac] += hodnota + def game(): while True: clear()