Name | Modified | Size | Downloads / Week |
---|---|---|---|
README.txt | 2012-11-19 | 1.6 kB | |
MazeJen.zip | 2012-11-19 | 94.5 kB | |
Totals: 2 Items | 96.1 kB | 0 |
ABOUT: MazeJen is a maze generator which implements the Depth First Search algorithm, and can render mazes in both 2 and 3 dimensions. Each maze can also be saved as a .mz file. The DFS algorithm I implemented can be found at http://www.mazeworks.com/mazegen/mazetut/index.htm. TO RENDER IN 3D: Open 'Maze' project in eclipse. Select 'Run Configurations...' Under the Main tab, type 'navigators.MazeNavigator' in the Main class field Under the Arguments tab, type 'DFSGENERATOR' in the Arguments field Click 'Run' You should then be asked to enter the number of rows and columns in the maze, and whether you would like to save the maze as a .mz file. Then the 3d maze should load. TO RENDER IN 2D: Open 'Maze' project in eclipse. Select 'Run Configurations...' Under the Main tab, type 'viewers.MazeViewer' in the Main class field Under the Arguments tab, type 'DFSGENERATOR' in the Arguments field Click 'Run' You should then be asked to enter the number of rows and columns in the maze, and whether you would like to save the maze as a .mz file. Then the 2d maze should load. REQUIREMENTS: java 1.6 or above java 3d library: j3dcore.jar, j3dutils.jar, vecmath.jar available at http://www.oracle.com/technetwork/java/index.html. ABOUT: Written in java v1.6.0_16 using Eclipse Indigo SR1 and tested on Windows Vista POSSIBLE ENHANCEMENTS: Write a generator which creates "islands" inside the maze. Select the texture image rather than hard code it. Write collision detection in the maze navigator so walls can not be passed through.