I changed the display code, too. The mouse is marked by the number 800. I have code in there to make the mouse marker red, using ascii escape codes. I commented these out, so everyone can run it ( and so it will display ok in the Eclipse console ). Uncomment them if you like. The maze file is unchanged. I put it here, so no one has to go hunt for it. Here is the new code:
Full Mouse Maze Simulator
Sample Maze File
Oh, I didn't even think about this. Windows users may have trouble seeing this maze file cleanly. There are no carriage returns. Don't let your editor add them. It may cause problems when loading the maze. I can't remember if I allowed for this or not.
New shots:
First Solve - Note the value at start cell
Back Solve Initial Flood Results
End Back Solve - Note New Values/Better Path
Speed Run - Note Better Path
No comments:
Post a Comment