Star Warden: a side-scrolling planet defence game

games/warden: an original Defender-style game in C for the Z-80 - landers
snatch humanoids from a planet that wraps round (1,280 pixels, exactly
four graphics widths, so world column x lives in buffer column x mod 320
and only columns scrolling into view are drawn), mutants, bombers and
mines, a laser, smart bombs, hyperspace and a long-range scanner in text.
test-warden.py checks scrolling and the scanner and has an autopilot
clear a wave; manual and README describe it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
brad ArantandClaude Opus 5.5 committed 2026-11-29 20:01:06 -08:00
1 parent 62d0883a7f
commit 0b16e1dce0
11 files changed
+1550

No files matched your search

+10
View File
@@ -265,6 +265,15 @@ RAIDGAME` and `raid.bas` saved as `RAID`). `test-raid.py --play` flies the
whole level with an autopilot, checks every frame fits in a 60th of a second,
and takes screenshots.
**Star Warden** (`games/warden/`) is a side-scrolling planet defence game:
landers snatch humanoids from a planet that wraps round, mutants, bombers and
mines, a laser, smart bombs, hyperspace and a long-range scanner drawn in text.
`RUN "WARDEN"`. The planet is exactly four graphics widths round, so world
column x always lives in buffer column x mod 320 and only the columns
scrolling into view are drawn (about 5-10% of the Z-80's time). Install it as
`WARDGAME` with its loader saved as `WARDEN`; `test-warden.py --play` has an
autopilot clear a wave.
`tools/boardemu.py` models the board's game hardware (graphics, scrolling,
sprites, held keys, terminal) around `tools/z80emu.py` for both tests.
@@ -558,6 +567,7 @@ which Vivado needs on newer distros.
| `tools/send-hex.py` | Load an Intel HEX file through the monitor and save it as a memory file |
| `games/keep/` | The Iron Keep: game (C), art and map generator, loader, emulator test |
| `games/raid/` | Bastion Raid: game (C), art and level generator, loader, emulator test with autopilot |
| `games/warden/` | Star Warden: game (C), art and mountain generator, loader, emulator test with autopilot |
| `tools/boardemu.py` | Model of the board's game hardware around `z80emu.py`, with screenshots |
| `basic/` | BASIC interpreter (C), start-up code, build script, `basic.mem` |
| `tools/z80emu.py`, `tools/cputest.py`, `scripts/cpusim.sh` | CPU test bench: reference emulator, random tests |