Added usefull state information to "draw_score"

This commit is contained in:
KikooDX 2020-09-26 22:57:19 +02:00
parent 0753d62e98
commit 2ede62ba9a
1 changed files with 1 additions and 1 deletions

View File

@ -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