| 1 |
'\"macro stdmacro |
| 2 |
.TH maze 1 |
| 3 |
.SH NAME |
| 4 |
maze \- a nostalgic 3d game |
| 5 |
.SH SYNOPSIS |
| 6 |
.B maze |
| 7 |
[maze file] |
| 8 |
.SH DESCRIPTION |
| 9 |
.I maze |
| 10 |
is a fun 3d game that will test your ability to navigate a marble |
| 11 |
through a 3d maze by tilting the floor of the maze. |
| 12 |
The object of the game is to maneuver the marble through the entire |
| 13 |
maze without falling into any of the holes. There is only |
| 14 |
one path through the maze and it is NOT marked. |
| 15 |
.PP |
| 16 |
Use the left mouse to control the tilt of the maze floor. |
| 17 |
You can adjust the view of maze by pressing the right mouse button |
| 18 |
and choosing the |
| 19 |
.I Decoration "on" |
| 20 |
menu button. This will add some additional buttons around the |
| 21 |
window which can be used to adjust the view of the maze. |
| 22 |
Click the top right toggle button to switch into viewing mode |
| 23 |
and then adjust your view by pressing the left and/or |
| 24 |
middle mouse buttons. Click the "?" button to get help on how |
| 25 |
to use the viewer. When you are done adjusting your view, hit the |
| 26 |
toggle button again and resume play. Be careful to not disorient |
| 27 |
your play by overadjusting the view. |
| 28 |
.PP |
| 29 |
The game offers 3 levels of difficulty; |
| 30 |
press the "1" key to play the |
| 31 |
.I starter |
| 32 |
maze, |
| 33 |
the "2" key for the |
| 34 |
.I difficult |
| 35 |
maze, |
| 36 |
and the "3" key for the |
| 37 |
.I masochist |
| 38 |
maze. |
| 39 |
Pressing these keys at ANY TIME will restart the game at that level. |
| 40 |
Pressing the "r" key will restart the game at the current level. |
| 41 |
.PP |
| 42 |
If the marble falls in a hole, press the "r", "1", "2", or "3" key |
| 43 |
to restart the game. |
| 44 |
.PP |
| 45 |
.I maze |
| 46 |
was written using the |
| 47 |
.I Inventor 3d Toolkit. |
| 48 |
.SH BUILDING YOUR OWN MAZE |
| 49 |
You can build your own mazes by creating maze files and then running |
| 50 |
.I maze |
| 51 |
with the maze file as an argument. |
| 52 |
The top array specifies the location of horizontal walls, |
| 53 |
the middle array specifies the location of vertical walls, |
| 54 |
and the bottom array specifies locations of holes. |
| 55 |
In the first two arrays, |
| 56 |
a 1 means a wall is present, and a 0 means no wall is present. |
| 57 |
In the third array, a 1 means a hole is present. |
| 58 |
A value of 2 in the hole array signifies the starting point, |
| 59 |
and a value of 3 signifies the ending (winning) point in the maze. |
| 60 |
.PP |
| 61 |
Here's the |
| 62 |
.I starter |
| 63 |
(level 1) maze file: |
| 64 |
.PP |
| 65 |
.nf |
| 66 |
1 1 1 1 1 1 1 1 1 1 1 1 |
| 67 |
0 0 1 1 0 0 1 1 0 0 0 1 |
| 68 |
0 1 0 0 1 1 0 0 0 0 0 1 |
| 69 |
1 0 0 1 1 0 1 1 0 0 1 1 |
| 70 |
0 0 1 0 0 0 0 0 0 1 0 1 |
| 71 |
0 0 0 0 1 0 0 1 0 0 0 1 |
| 72 |
0 1 0 1 0 0 0 0 0 0 0 1 |
| 73 |
0 0 0 0 0 1 1 0 0 0 0 1 |
| 74 |
1 1 0 0 1 0 0 0 0 0 0 1 |
| 75 |
0 1 1 1 0 0 1 0 0 0 0 1 |
| 76 |
0 0 0 0 0 0 0 1 0 0 0 1 |
| 77 |
1 1 1 1 1 1 1 1 1 1 1 1 |
| 78 |
|
| 79 |
1 1 0 0 0 1 0 0 1 0 0 1 |
| 80 |
1 0 0 0 1 0 0 0 0 1 0 1 |
| 81 |
1 0 1 0 0 0 0 0 0 0 0 1 |
| 82 |
1 0 1 0 0 0 0 1 0 0 1 1 |
| 83 |
1 0 1 0 0 1 0 0 1 0 0 1 |
| 84 |
1 0 1 0 0 0 0 0 1 0 0 1 |
| 85 |
1 0 0 0 1 1 0 0 1 0 0 1 |
| 86 |
1 0 1 0 1 0 0 1 1 0 1 1 |
| 87 |
1 0 0 0 0 0 0 1 0 0 1 1 |
| 88 |
1 0 0 0 0 1 0 0 1 0 1 1 |
| 89 |
1 0 0 0 1 0 0 0 0 0 1 1 |
| 90 |
1 1 1 1 1 1 1 1 1 1 1 1 |
| 91 |
|
| 92 |
1 0 0 0 0 0 0 2 0 0 0 |
| 93 |
0 0 1 0 0 0 1 0 0 1 0 |
| 94 |
0 0 0 0 0 0 0 0 1 0 0 |
| 95 |
0 0 0 0 0 1 0 0 0 0 1 |
| 96 |
0 0 0 0 0 0 0 0 1 0 0 |
| 97 |
0 1 1 0 0 1 0 0 0 0 0 |
| 98 |
0 0 0 0 0 0 0 0 0 0 0 |
| 99 |
0 0 0 0 0 0 0 0 0 0 0 |
| 100 |
0 0 0 1 0 0 0 0 1 0 0 |
| 101 |
0 0 1 0 0 1 0 0 0 0 0 |
| 102 |
0 0 0 0 1 0 0 0 0 0 3 |
| 103 |
.fi |
| 104 |
.SH SOURCE CODE |
| 105 |
Note that the source code to |
| 106 |
.I maze |
| 107 |
comes with the |
| 108 |
.I Open Inventor 3d Toolkit. |
| 109 |
.SH FILES |
| 110 |
/usr/share/src/Inventor/demos/maze/* - Source to maze |
| 111 |
.SH SEE ALSO |
| 112 |
drop, SceneViewer, inventor, ivview, noodle, qmorf, revo, showcase, textomatic |