Object: To simulate a maze square using C++ arrays and functions.
Procedure: Write a main function, *solveMaze* that invokes a minimum of the following functions:
* *createMaze-* randomly creates a maze as a square with maximum size 12 x 12
* legalMove - determines if the current move is legal and returns True or False
*nextMove- determines the next legal move and marks the maze for display.
*displayMaze- displays the solved path or dead-end.
Use the following to represent the legal moves.
x y Direction x y direction
-1 0 north -1 1 northeast
0 1 east 1 1 southeast
1 0 south 1 -1 southwest
0 -1 west -1 -1 northwest
use the following symbols to display the solution
p solution path
e end point
# dead-end path
s start point
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
needs to run in a Unix enviornment.
ex. g++ to compile, ./[login to view URL] to execute