From 2ede62ba9aefa636a4a92f52c1899f12b08a44d8 Mon Sep 17 00:00:00 2001 From: KikooDX Date: Sat, 26 Sep 2020 22:57:19 +0200 Subject: [PATCH] Added usefull state information to "draw_score" --- labygui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/labygui.py b/labygui.py index 91fb1d7..ab39371 100644 --- a/labygui.py +++ b/labygui.py @@ -129,7 +129,7 @@ def draw_path(): def draw_score(score): global canvas - canvas.create_text(4, screen_h + 52, anchor = NW, text = 'score: %f' % score, fill = 'black') + canvas.create_text(4, screen_h + 52, anchor = NW, text = f'score: {score}, state[7]: {state[7]}, state[6]: {state[6]}', fill = 'black') def fix_angle(a): return a * 2 * asin(1) / pi