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

Function start_game

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

Source from the content-addressed store, hash-verified

95
96# --- GAME LOGIC & STATE TRANSITIONS ---
97def start_game():
98 global game_state
99 if game_state == "start":
100 game_state = "playing"
101 scoreboard.update_scoreboard()
102
103def toggle_pause_resume():
104 global game_state

Callers 5

handle_clickFunction · 0.70
handle_snake_upFunction · 0.70
handle_snake_downFunction · 0.70
handle_snake_leftFunction · 0.70
handle_snake_rightFunction · 0.70

Calls 1

update_scoreboardMethod · 0.80

Tested by

no test coverage detected