AminetAminet
Search:
84782 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/amos/Mazer.lha

Mirror:Random
Showing: ppc-morphos icongeneric icon
No screenshot available
Short:Generate mazes for fun and profit (?)
Author: ragnar.fyri at daf.no (Ragnar Fyri)
Uploader:ragnar fyri daf no (Ragnar Fyri)
Type:dev/amos
Architecture:m68k-amigaos
Date:1999-05-10
Download:dev/amos/Mazer.lha - View contents
Readme:dev/amos/Mazer.readme
Downloads:657

These programs are part of a bigger project that yu can read more about at
http://member.tripod.com/~Skribenten/furry/Rainbow

The algorithm is based on a program called SimpMaze that was published in a
magazine a couple of decades ago.

All three programs are found both as AMOS source and as compiled  execu-
tables. The executables even have icons so you can run them from Workbench.

RainMazer (if you wonder what the name means check the website) generates a
7*7 maze with visual feedback then asks if you want another. You can try to
solve the maze on the screen before you answer. The maze data is saved in
the file "Mazes" for further processing.

FastMazer is much faster because it works without graphics or delays. It
just asks how many mazes you want, generates them (and saves the data the
same way) then quits.

BigMazer works the same way as RainMaze and has nothing to do with the
mentioned project, I just wanted to see how big a maze could be with the
chosen graphics and how long it would take to generate. It stores maze data
in the file "bMazes".

A bit more information if you want to write any "programs for further pro-
cessing":
Each room is represented by one byte where bits 0, 1, 2 and 3 are set if
the room has an exit to the north, east, south and west respectively. In
addition bit 5 is set to make each byte printable and make the file more
compatible with other programs (You may wish to Sort the file to check for
duplicates, for instance). The bytes are stored without separators, so each
maze is represented by one text line. The lines are separated by standard
AMOS EOL codes (CR+LF), so to access the file as a random file the record
length must be set to 51 (7*7+2).


  Ragnar Fyri
  Idunns vei 15
  1386 Asker
  Norway

  ragnar.fyri@daf.no


Contents of dev/amos/Mazer.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                43141   58088  74.3% -lh5- 8dc1 Apr 28  1999 BigMazer
[generic]                 1588    4268  37.2% -lh5- 6c72 Apr 28  1999 BigMazer.AMOS
[generic]                  407    1122  36.3% -lh5- 397f Apr 28  1999 BigMazer.info
[generic]                45056   60304  74.7% -lh5- 4b7c Apr 28  1999 FastMazer
[generic]                 1102    2828  39.0% -lh5- c996 Apr 28  1999 FastMazer.AMOS
[generic]                  406    1122  36.2% -lh5- 437a Apr 28  1999 FastMazer.info
[generic]                43121   58032  74.3% -lh5- 28a3 Apr 28  1999 RainMazer
[generic]                 1559    4212  37.0% -lh5- 0adc Apr 28  1999 RainMazer.AMOS
[generic]                  407    1122  36.3% -lh5- dd26 Apr 28  1999 RainMazer.info
[generic]                  972    1823  53.3% -lh5- 21e6 May  6  1999 ReadMe
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        10 files  137759  192921  71.4%            May 10  1999
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>