MCPcopy Index your code
hub / github.com/ndleah/python-mini-project / increase_score

Function increase_score

Egg_Catcher/eggcatcher.py:109–114  ·  view source on GitHub ↗
(points)

Source from the content-addressed store, hash-verified

107
108# Function to increase the score
109def 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
117def move_left(event):

Callers 1

catch_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected