How swagcode4u/pygame-girlsontarget works
Girls On Target is a single-file Pygame arcade shooter. The player starts from an intro screen, moves and fires at descending enemies, and tries to avoid collisions or letting enemies escape; lost lives or too many misses lead to game over, with restart available. The graph separates the documented screens and gameplay responsibilities, while keeping their shared implementation path. README descriptions fill in features such as score/lives and blast animation where the sampled code excerpt does not show their full behavior.
Main entry points: plane.py Game Loop · assets Game Assets
Components 14
Game Runtime
- Game Loop
plane.py - Input & State
plane.py - Game Assets
assets
Gameplay
- Plane Movement
plane.py - Shooting
plane.py - Enemy Spawning
plane.py - Hits & Misses
plane.py - Score & Lives
plane.py
Screens & Effects
- Intro Screen
plane.py - Pause Menu
plane.py - Game Over
plane.py - Blast Effects
plane.py
Other components
- Player
- Pygame
Connections 14
- Player → Input & State: presses keys
README.md - Input & State → Game Loop: updates state
plane.py - Game Loop → Intro Screen: shows intro
plane.py - Game Loop → Pause Menu: shows pause
plane.py - Game Loop → Game Over: shows game over
plane.py - Game Loop → Plane Movement: runs gameplay
plane.py - Game Loop → Shooting: runs gameplay
plane.py - Game Loop → Enemy Spawning: spawns enemies
plane.py - Game Loop → Hits & Misses: checks hits
plane.py - Game Loop → Score & Lives: draws status
plane.py - Game Loop → Blast Effects: updates effects
plane.py - Game Loop → Game Assets: loads images
plane.py - Game Loop → Pygame: uses engine
plane.py - Hits & Misses → Score & Lives: changes lives
plane.py