Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ reset
Function
reset
PONG_GAME.py:33–37 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
32
33
def
reset():
34
global ball_pos, score1, score2
35
ball_pos = [WIDTH / 2, HEIGHT / 2]
36
score1 = 0
37
score2 = 0
38
39
40
def
new_game():
Callers
1
new_game
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected