Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/geekcomputers/Python
/ fire_bullet
Function
fire_bullet
python Space Invader game.py:87–90 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
85
86
87
def
fire_bullet(x, y):
88
global bullet_state
89
bullet_state =
"fire"
90
screen.blit(bulletimg, (x + 16, y + 10))
91
92
93
def
iscollision(enemyx, enemyy, bulletx, bullety):
Callers
1
python Space Invader game.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected