I know I posted this in another board, but I'm not sure if people read that one, so here goes...
I'm really looking for some serious help. I have a program to write that has completely stumped me. I'm trying to learn on my own and found an interesting "beginner" code, at least it is supposed to me. But it doesn't look like anything I've done before. I'm up to arrays and have done loops. Nothing involving graphics or anything.
Here's the criteria for the code:
Array size = 10, 10
Variable called Mouse
Four functions should used to move the mouse up, down, right and left.
Start position 5,5
Exit positions = 10,10 and 1,1
Initialize the array to zero.
A cell cannot be visited by a mouse more than once.
A 1 should be placed in the cell to indicate it has been visited.
You must follow the path of the mouse. Your output should reflect this.
Once you have reached an exit position, print "The mouse has made it through the maze" Start position, exit position.
Keep track of the number of cells that the mouse had to visit before it exited the maze.
Keep track of each cell location visited
You should define how you are going to display your output.
I am completely lost. People have given me pointers, but I'm still kinda confused. Is there anyone that has a basic skeleton of the program that I might manipulate into what I need? Or even the code for this maze so that I might study it and learn how and what it did.
Feel free to just email me any help you can offer, or just post here.