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

Function new_game

PONG_GAME.py:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39
40def new_game():
41 global paddle1_pos, paddle2_pos, paddle1_vel, paddle2_vel
42 global score1, score2
43 reset()
44 spawn_ball(RIGHT)
45
46
47def draw(canvas):

Callers 1

PONG_GAME.pyFile · 0.70

Calls 2

resetFunction · 0.85
spawn_ballFunction · 0.85

Tested by

no test coverage detected