JJFlash-IT / digital-tag

Chaze in the Maze (Freebasic Demo)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

A FreeBASIC 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 πŸ˜ƒ

DigitalTag

Features

  • No square roots; only Integers used, no divisions
  • No queues & no stacks used!
  • Wall following
  • Main trick is Walter D. Pullen's Chain Algorithm, from his Daedalus program (see the Algorithms page, and the Daedalus page)
  • Cross product of Vectors! 😱 (Idea taken from StackOverflow)
  • A touch of Bresenham's Line Algorithm (adapted and simplified from the pseudocode at the Wikipedia page)
  • Compile in Debug Mode and see the Chain Algorithm in action

Requirements

  • The FreeBASIC compiler, basically 😁
  • If you use Windows and just want to try the demo, go to the Releases section and download the compiled program

Post-mortem notes

If I see even a tiny bit of interest in this project I'll add some production notes regarding this little program of mine (on which I spent two months and a half, in the spare time).

For now, I'll say that English is not my first language, I tried my best to add meaningful comments to the source πŸ™‚
Also, most of the maps included were converted or produced with the Daedalus program. Slot Racers and Miniature Golf are two old Atari 2600 games.

About

Chaze in the Maze (Freebasic Demo)

License:GNU General Public License v3.0


Languages

Language:VBA 100.0%