A modernized 2D clone of the 1976 Midway arcade game Sea Wolf. Written in Python with Pygame-CE; ships to the browser via Pygbag (WebAssembly).
- Aim: Left/Right arrows (or A/D), or move the mouse
- Fire: Space / Up / W, or left-click
- Menu / pause: Esc
python -m venv .venv
.venv\Scripts\activate # Windows
# source .venv/bin/activate # macOS/Linux
pip install pygame-ce
python main.pypip install pygbag
pygbag main.py
# open http://localhost:8000To produce a static build for hosting:
pygbag --build main.py
# output: build/web/main.py # async entry point (Pygbag-compatible)
src/
game.py # scene state machine
config.py # tunable constants
audio.py # procedural SFX
entities/ # periscope, ship, torpedo
scenes/ # attract, play, gameover
fx/ # particles, animated water
assets/ # sprites, sfx, fonts (empty for now)
All visuals are currently drawn procedurally (no sprite assets), so the scaffold runs with zero art files. Drop real art into assets/sprites/ and wire it in as you go.