M O U S E M A Z E ~~~~~~~~~~~~~~~~~~~~~~~~~ By Simon Champion, © 1998. Version 1.1 (First release): 12-Jan-1998. Another artificial inteligence toy by Simon Champion. (See HAL9001 in Aminet/misc/misc directory) Intoduction ~~~~~~~~~~~ This program is a simple little program designed to show how the computer can work out how to get from one point to another on it's own through a maze. I've used the cute analogy of a mouse in a maze, to make it slightly more appealing ;-) That's really all there is of importance to it! It does do a little bit more than that, but that's the important bit. I've included the Amos source code for those of you with Amos. I hope it comes in useful for someone.... Let me know if it does. Using it ~~~~~~~~ It's really pretty straight-forward to use.... Just run the program from Workbench. You'll get a menu of options. Pick option (1) to run the main part of the program, which brings up the maze. Enter the co-ordinates to start and finish at (try 2,2 and 14,14 if you can't think of anything else), and the mouse will start running round the maze to find the cheese. At first, it'll explore all the dead ends, and might take a while, but when it's found a route, it will remember the quickest way, and you can ask it to demonstrate it's solution from the menu. You can also choose to edit the maze yourself (maybe you want to prove that it's not a fix... ;-) , which is also an option on the menu. Editing the maze ~~~~~~~~~~~~~~~~ Edititing the maze is very easy. Move the cursor around the maze, press space to toggle the walls, and press enter when you're done. Easy, huh? And the instructions are on the screen anyway, in case you can't remember... Just one thing to add, though: Try to avoid making large areas of empty space - the mouse quite likes open areas, and is sometimes inclined to hang around them longer than it should... (actually, it's just the algorithm getting confused, but I thought it sounded better that way... ;-) The source code ~~~~~~~~~~~~~~~ For those of you with Amos Pro, I've included the source code in this archive. You're welcome to use any of it in your own code. The ideas I've used should be useful for other languages as well as Amos. Feel free to use them. Please tell me if it's useful for you. And finally ~~~~~~~~~~~ Well, that's not much in the way of documentation, but there's not really much more to say. It's all very self-explanatory. Just enjoy it - that's the main thing! If you want to contact me, feel free to send me an email at my (rather trendy) email address: . Also, please please please please visit my web page!!! You'll find it at . It has all my programs on it available for download, and they're usually updated there before they get onto Aminet. Also, it'll tell you all about me, and I've got a couple of really bad joke pages for you to groan at...... well you get the picture... I'll repeat that address below, to make sure you've got it: If you really have an aversion to visiting my site, you can still try out my other work, from Aminet: misc/misc/HAL9001.lha game/text/SpaceJest.lha misc/misc/Insult.lha pics/misc/BadJokePics.lha pics/misc/MoreBadJokePics.lha pics/mics/BadJokes3.lha pics/mwb/SC-MWB.lha That's all!