Go to file
JJFlash 7dfc748669 Update 'MazeGenerator/MazeGenerator.bas' 2022-09-29 12:49:09 +02:00
MazeGenerator Update 'MazeGenerator/MazeGenerator.bas' 2022-09-29 12:49:09 +02:00
DigitalTag3.d64 Release disk :D 2022-05-20 11:03:58 +02:00
DigitalTag3.gif Demo GIF 2022-05-20 11:05:07 +02:00
LICENSE Initial commit 2022-05-20 10:25:33 +02:00
README.md Update 'README.md' 2022-05-20 11:27:27 +02:00
blocks Upload files to '' 2022-05-20 10:32:35 +02:00
cavern Upload files to '' 2022-05-20 10:32:35 +02:00
digitaltag3.xcbbas Upload files to '' 2022-05-20 10:32:35 +02:00
maze Upload files to '' 2022-05-20 10:32:35 +02:00
slotrace Forgot this... 2022-05-20 11:31:14 +02:00
testmap Upload files to '' 2022-05-20 10:32:35 +02:00


Chaze in the Maze (Or... Digital Tag)

A XC-BASIC3 demo where you control a white asterisk, the Computer controls a little red face, and both of you are placed in a maze. Oh, and the Computer chases you 😃



  • Wall following
  • Main trick is Walter D. Pullen's Chain Algorithm, from his Daedalus program (see the Algorithms page, and the Daedalus page)
  • Use of Bresenham's Line Algorithm (taken almost verbatim from the Wikipedia page)
  • Uncomment the DEBUG lines to have a hint at how the path is roughly found


  • The XC-BASIC3 compiler, basically 😁
  • If you just want to try the demo, there's a D64 file you can throw straight at your favourite emulator, or even the real thing!

Post-mortem notes

If I see some interest in this project I'll add some production notes regarding this little program of mine (originally made on FreeBASIC, where I spent two months and a half, in the spare time, later converted to XC-BASIC 2 and now to XC-BASIC 3).

Right now the source is not that commented (I wanted to see this online ASAP), but I'll probably add proper comments later 🙂

Some maps I drew "by hand" by using Notepad++ and then removing all the CRLF characters and inserting the start address ($0400) at the beginning of the map file. MAZE and CAVERN were created and adapted with the Daedalus program, while SLOTRACE comes from an old Atari 2600 game, Slot Racers.