(current_score)
| 65 | t.onkey(start_game,'space') |
| 66 | |
| 67 | def display_score(current_score): |
| 68 | score_turtle.clear() |
| 69 | score_turtle.penup() |
| 70 | x = (t.window_width()/2) - 70 |
| 71 | y = (t.window_height()/2) - 70 |
| 72 | score_turtle.setpos(x,y) |
| 73 | score_turtle.write(str(current_score), align='right', font=('Arial', 40, 'bold')) |
| 74 | |
| 75 | def place_leaf(): |
| 76 | leaf.hideturtle() |