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

+32
View File
@@ -1169,6 +1169,38 @@ the fortress pixel by pixel into the scrolled graphics, two new columns and a
row each frame, and everything that moves is a sprite (`games/raid/` on the
PC).
### Star Warden
A planet defence game in machine code, scrolling left and right round a
planet. Landers come down to snatch the humanoids walking on the ground and
carry them up; one that gets a humanoid to the top turns into a mutant that
hunts you. Shoot the landers, and catch the humanoids they drop before they
hit the ground.
```
RUN "WARDEN"
```
- **Left and right** fly that way, with momentum, and turn the ship round;
**up and down** climb and dive; **Space** or **Ctrl** fires the laser.
- **Shift** sets off a smart bomb, which destroys everything on the screen
(three to start with); **Enter** jumps into hyperspace, somewhere at random.
- **The scanner** across the top shows the whole planet with your ship in the
middle: landers green, mutants magenta, bombers blue, humanoids as dots.
- **Bombers** drift across and leave mines. A humanoid dropped from high up
dies when it lands; catch it on the way down for 500.
- **Waves** end when every enemy is gone, with a bonus for each humanoid
still alive. If they are all lost, every lander becomes a mutant; the
humanoids come back every fifth wave.
- **Score:** 150 a lander or mutant, 250 a bomber, 50 a mine, 500 a humanoid
caught, 250 for one landing safely. A new ship and smart bomb every 10,000.
- **P** pauses; **Esc** gives up, and Esc at the title goes back to BASIC.
`WARDEN` loads the memory file `WARDGAME` at 8600h. The planet is 1,280 pixels
round, four times the graphics' width, so the game scrolls the graphics and
draws each column of mountains and stars as it comes into view
(`games/warden/` on the PC).
## 15. Limits at a glance
| Item | Limit |
Binary file not shown.