maze(6x) | XScreenSaver manual | maze(6x) |
maze - an automated X11 demo repeatedly creating and solving a random maze
maze [-display host:display.screen] [-foreground color] [-background color] [-window] [-root] [-install] [-visual visual] [-grid-size pixels] [-live-color color] [-dead-color color] [-solve-delay usecs] [-pre-delay usecs] [-post-delay usecs] [-generator integer] [-max-length integer] [-fps]
The maze program creates a "random" maze and then solves it with graphical feedback.
maze accepts the following options:
All generators generate mazes with a certain 'characteristic'. See if you can spot them!
The three algorithms are essentially Kruskal, Prim, and a depth-first recursive backtracker.
Clicking the mouse in the maze window controls it.
Expose events force a restart of maze.
Mouse actions are based on "raw" values (Button1, Button2 and Button3) instead of using the pointer map.
Copyright © 1988 by Sun Microsystems, Inc. Mountain View, CA.
All Rights Reserved
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the names of Sun or MIT not be used in advertising or publicity pertaining to distribution of the software without specific prior written permission. Sun and M.I.T. make no representations about the suitability of this software for any purpose. It is provided "as is" without any express or implied warranty.
SUN DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SUN BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Zack Weinberg [ Smarter maze-solver ] zack@rabi.phys.columbia.edu Johannes Keukelaar [ Generators 1 and 2 ] johannes@nada.kth.se
Royal Institute of Technology, Stockholm, Sweden Jim Randell [ XScreenSaver version ] jmr@mddjmr.fc.hp.com
HPLabs, Bristol Richard Hess [ X11 extensions ] {...}!uunet!cimshop!rhess
Consilium, Mountain View, CA Dave Lemke [ X11 version ] lemke@sun.COM
Sun MicroSystems, Mountain View, CA Martin Weiss [ SunView version ]
Sun MicroSystems, Mountain View, CA
5.45 (08-Dec-2020) | X Version 11 |