[Prev][Next][Index][Thread]
RE: "standard" maze
It's an old one, but it's still good!
QBasic (or VBDOS or QB45) program, sample print file and sample maze.
This is driven from the keyboard, not the mouse.
Start by Editing, Cut a new maze (cursor turns blue) - cut a twisted path to
the centre. M for move turns it green - you can travel around with the
cursor keys without knocking walls down, then Solve to find the shortest
path from where you leave the mouse to the centre.
To find the second best route, you have to put up a wall to block the
shortest.
Have fun!
John
-----Original Message-----
From: Rafe Aldridge [mailto:rafe@rcai.co.uk]
Sent: Monday, 23 October 2000 20:04
To: micromouse@dcs.rhbnc.ac.uk
Subject: Re: "standard" maze
I've an application that reads in mazes of the form:
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
and displays them in a nice graphical form. It can also print them, save
them as a .BMP and even solve them using a couple of simple algorithms.
It's a Win 9x/NT application that I wrote to help me experiment with mices.
If people are interested then I'll stick it on my webserver.
Rafe
MAZEL2.BAS
OzMouse 96
o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o
! ! !
o o o o--o o--o--o--o--o--o--o o--o--o--o o
! ! ! ! ! ! ! !
o o o--o--o o o--o--o--o--o--o--o o--o o o
! ! ! ! ! ! !
o o o o--o--o--o--o--o--o--o--o--o--o o--o o
! ! ! ! ! !
o o o--o o--o--o--o--o o o--o--o--o--o o--o
! ! ! ! !
o o o--o--o--o--o--o--o--o o o--o--o--o--o o
! ! ! ! ! ! ! !
o o--o o--o--o--o--o--o o o o o o o o o
! ! ! ! ! ! ! ! ! ! !
o o o--o o--o o--o--o o o o o o o o o
! ! ! ! ! ! ! ! ! ! ! ! !
o o--o o--o o--o o o o o o o o o o o
! ! ! ! ! ! ! ! ! ! ! ! ! !
o o o--o o--o o o--o--o o o o o o o o
! ! ! ! ! ! ! ! ! ! ! !
o o o--o--o o o--o--o--o--o o o o o o o
! ! ! ! ! ! ! !
o o--o--o o o--o--o--o--o--o--o--o o--o--o o
! ! ! ! !
o--o--o--o--o--o--o o o--o--o--o o o--o--o o
! ! ! ! ! ! !
o o--o o--o--o--o--o o o--o--o--o o o o o
! ! ! ! ! ! ! !
o o o--o o o--o--o--o--o o o--o--o o o o
! ! ! ! ! ! ! ! !
o o o o--o--o--o--o--o--o--o o o--o--o--o o
! ! ! !
o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o
OZ96.MAZ