Crystal Cavern: a maze chase game
games/cavern: an original maze-chase game in C for the Z-80 - a miner gathers crystals while four bats hunt him, each choosing its target its own way and switching between chasing and scattering to its corner; lanterns scare them and their eyes fly home to the roost; nuggets and wrap-round tunnels. gen.py builds the maze from a grid of junctions, removing links at random while keeping it connected, mirrored and free of dead ends. The maze is drawn into the graphics in 8 x 8 tiles; figures are sprites. test-cavern.py has an autopilot gather every crystal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e1daf27891
commit
073db68754
11 files changed
+1447
No files matched your search
@@ -282,6 +282,15 @@ wiped out of the graphics and becomes a sprite until it flies back into its
|
||||
place. Install it as `SWARMGAM` with its loader saved as `SWARM`;
|
||||
`test-swarm.py --play` has an autopilot destroy a whole swarm.
|
||||
|
||||
**Crystal Cavern** (`games/cavern/`) is a maze chase: a miner gathers
|
||||
crystals while four bats hunt him, each with its own way of choosing where to
|
||||
go, switching between chasing and going to their corners; lanterns turn the
|
||||
tables. `RUN "CAVERN"`. The maze is drawn into the graphics in 8 x 8 tiles;
|
||||
`gen.py` builds it from a grid of junctions, removing links at random while
|
||||
keeping it connected, mirrored and free of dead ends. Install it as `CAVEGAME`
|
||||
with its loader saved as `CAVERN`; `test-cavern.py --play` has an autopilot
|
||||
gather every crystal.
|
||||
|
||||
`tools/boardemu.py` models the board's game hardware (graphics, scrolling,
|
||||
sprites, held keys, terminal) around `tools/z80emu.py` for both tests.
|
||||
|
||||
@@ -577,6 +586,7 @@ which Vivado needs on newer distros.
|
||||
| `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 |
|
||||
| `games/swarm/` | Star Swarm: game (C), art generator, loader, emulator test with autopilot |
|
||||
| `games/cavern/` | Crystal Cavern: game (C), maze and art 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 |
|
||||
|
||||
Reference in new issue
Block a user