Compare commits

...

1 Commits

Author SHA1 Message Date
KikooDX 2ede62ba9a Added usefull state information to "draw_score" 2020-09-26 22:57:19 +02:00
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