*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Inventor/maze (1)              
Title
Content
Arch
Section
 

Contents


								       MAZE(1)


NAME    [Toc]    [Back]

     maze - a nostalgic	3d game

SYNOPSIS    [Toc]    [Back]

     maze [maze	file]

DESCRIPTION    [Toc]    [Back]

     maze is a fun 3d game that	will test your ability to navigate a marble
     through a 3d maze by tilting the floor of the maze.  The object of	the
     game is to	maneuver the marble through the	entire maze without falling
     into any of the holes.  There is only one path through the	maze and it is
     NOT marked.

     Use the left mouse	to control the tilt of the maze	floor.	You can	adjust
     the view of maze by pressing the right mouse button and choosing the
     Decoration	on menu	button.	 This will add some additional buttons around
     the window	which can be used to adjust the	view of	the maze. Click	the
     top right toggle button to	switch into viewing mode and then adjust your
     view by pressing the left and/or middle mouse buttons.  Click the "?"
     button to get help	on how to use the viewer. When you are done adjusting
     your view,	hit the	toggle button again and	resume play.  Be careful to
     not disorient your	play by	overadjusting the view.

     The game offers 3 levels of difficulty; press the "1" key to play the
     starter maze, the "2" key for the difficult maze, and the "3" key for the
     masochist maze.  Pressing these keys at ANY TIME will restart the game at
     that level.  Pressing the "r" key will restart the	game at	the current
     level.

     If	the marble falls in a hole, press the "r", "1",	"2", or	"3" key	to
     restart the game.

     maze was written using the	Inventor 3d Toolkit.

BUILDING YOUR OWN MAZE    [Toc]    [Back]

     You can build your	own mazes by creating maze files and then running maze
     with the maze file	as an argument.	 The top array specifies the location
     of	horizontal walls, the middle array specifies the location of vertical
     walls, and	the bottom array specifies locations of	holes.	In the first
     two arrays, a 1 means a wall is present, and a 0 means no wall is
     present.  In the third array, a 1 means a hole is present.	 A value of 2
     in	the hole array signifies the starting point, and a value of 3
     signifies the ending (winning) point in the maze.

     Here's the	starter	(level 1) maze file:

     1 1 1 1 1 1 1 1 1 1 1 1
     0 0 1 1 0 0 1 1 0 0 0 1
     0 1 0 0 1 1 0 0 0 0 0 1
     1 0 0 1 1 0 1 1 0 0 1 1
     0 0 1 0 0 0 0 0 0 1 0 1
     0 0 0 0 1 0 0 1 0 0 0 1



Page 1				 Release 6.5			   August 1991





MAZE(1)    [Toc]    [Back]



     0 1 0 1 0 0 0 0 0 0 0 1
     0 0 0 0 0 1 1 0 0 0 0 1
     1 1 0 0 1 0 0 0 0 0 0 1
     0 1 1 1 0 0 1 0 0 0 0 1
     0 0 0 0 0 0 0 1 0 0 0 1
     1 1 1 1 1 1 1 1 1 1 1 1

     1 1 0 0 0 1 0 0 1 0 0 1
     1 0 0 0 1 0 0 0 0 1 0 1
     1 0 1 0 0 0 0 0 0 0 0 1
     1 0 1 0 0 0 0 1 0 0 1 1
     1 0 1 0 0 1 0 0 1 0 0 1
     1 0 1 0 0 0 0 0 1 0 0 1
     1 0 0 0 1 1 0 0 1 0 0 1
     1 0 1 0 1 0 0 1 1 0 1 1
     1 0 0 0 0 0 0 1 0 0 1 1
     1 0 0 0 0 1 0 0 1 0 1 1
     1 0 0 0 1 0 0 0 0 0 1 1
     1 1 1 1 1 1 1 1 1 1 1 1

     1 0 0 0 0 0 0 2 0 0 0
     0 0 1 0 0 0 1 0 0 1 0
     0 0 0 0 0 0 0 0 1 0 0
     0 0 0 0 0 1 0 0 0 0 1
     0 0 0 0 0 0 0 0 1 0 0
     0 1 1 0 0 1 0 0 0 0 0
     0 0 0 0 0 0 0 0 0 0 0
     0 0 0 0 0 0 0 0 0 0 0
     0 0 0 1 0 0 0 0 1 0 0
     0 0 1 0 0 1 0 0 0 0 0
     0 0 0 0 1 0 0 0 0 0 3

SOURCE CODE    [Toc]    [Back]

     Note that the source code to maze comes with the Open Inventor 3d
     Toolkit.

FILES    [Toc]    [Back]

     /usr/share/src/Inventor/demos/maze/* - Source to maze

SEE ALSO    [Toc]    [Back]

      
      
     drop, SceneViewer,	inventor, ivview, noodle, qmorf, revo, showcase,
     textomatic


Page 2				 Release 6.5			   August 1991
[ Back ]
 Similar pages
Name OS Title
gomoku NetBSD game of 5 in a row
gomoku OpenBSD game of 5 in a row
tetris OpenBSD the game of tetris
puzzle Tru64 15-puzzle game for X
tetris NetBSD the game of tetris
trek NetBSD trekkie game
wargames NetBSD shall we play a game?
monop OpenBSD Monopoly game
bs OpenBSD battleships game
trek OpenBSD trekkie game
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service