MCPcopy Index your code
hub / github.com/geekcomputers/Python / handle_snake_up

Function handle_snake_up

Snake Game Using Turtle/main.py:140–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138
139# --- KEYBOARD HANDLERS ---
140def handle_snake_up():
141 if game_state in ["start", "playing"]:
142 start_game()
143 snake.up()
144def handle_snake_down():
145 if game_state in ["start", "playing"]:
146 start_game()

Callers

nothing calls this directly

Calls 2

upMethod · 0.80
start_gameFunction · 0.70

Tested by

no test coverage detected