Skip to content

Rudolf673/Seawolf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sea Wolf

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).

Controls

  • Aim: Left/Right arrows (or A/D), or move the mouse
  • Fire: Space / Up / W, or left-click
  • Menu / pause: Esc

Run locally (desktop)

python -m venv .venv
.venv\Scripts\activate          # Windows
# source .venv/bin/activate     # macOS/Linux

pip install pygame-ce
python main.py

Run in the browser

pip install pygbag
pygbag main.py
# open http://localhost:8000

To produce a static build for hosting:

pygbag --build main.py
# output: build/web/

Project layout

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages