(points)
| 107 | |
| 108 | # Function to increase the score |
| 109 | def increase_score(points): |
| 110 | global score, egg_speed, egg_interval |
| 111 | score += points |
| 112 | egg_speed = int(egg_speed * difficulty_factor) |
| 113 | egg_interval = int(egg_interval * difficulty_factor) |
| 114 | c.itemconfigure(score_text, text='Score : ' + str(score)) |
| 115 | |
| 116 | # Event handlers for moving the catcher |
| 117 | def move_left(event): |