MCPcopy Create free account
hub / github.com/ndleah/python-mini-project / game_over

Function game_over

Caterpillar_Game/Caterpillar.py:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 return outside
58
59def game_over():
60 caterpillar.color('yellow')
61 leaf.color('yellow')
62 t.penup()
63 t.hideturtle()
64 t.write('GAME OVER !', align='center', font=('Arial', 30, 'normal') )
65 t.onkey(start_game,'space')
66
67def display_score(current_score):
68 score_turtle.clear()

Callers 1

start_gameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected