X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fmaze.man;h=c827da86a7a1172cc0016ec5f71511fe03922c6f;hp=cd5afb4472f2c8aac36a6516233ae787e8858e94;hb=f8cf5ac7b2f53510f80a0eaf286a25298be17bfe;hpb=ec8d2b32b63649e6d32bdfb306eda062769af823 diff --git a/hacks/maze.man b/hacks/maze.man index cd5afb44..c827da86 100644 --- a/hacks/maze.man +++ b/hacks/maze.man @@ -3,7 +3,7 @@ maze \- an automated X11 demo repeatedly creating and solving a random maze .SH SYNOPSIS .B maze -[\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-install] [\-visual \fIvisual\fP] [\-grid\-size \fIpixels\fP] [\-live\-color \fIcolor\fP] [\-dead\-color \fIcolor\fP] [\-solve\-delay \fIusecs\fP] [\-pre\-delay \fIusecs\fP] [\-post\-delay \fIusecs\fP] [\-generator \fIinteger\fP] [\-max\-length \fIinteger\fP] [\-bridge] [\-no\-bridge] +[\-display \fIhost:display.screen\fP] [\-foreground \fIcolor\fP] [\-background \fIcolor\fP] [\-window] [\-root] [\-install] [\-visual \fIvisual\fP] [\-grid\-size \fIpixels\fP] [\-live\-color \fIcolor\fP] [\-dead\-color \fIcolor\fP] [\-solve\-delay \fIusecs\fP] [\-pre\-delay \fIusecs\fP] [\-post\-delay \fIusecs\fP] [\-generator \fIinteger\fP] [\-max\-length \fIinteger\fP] [\-fps] .SH DESCRIPTION The \fImaze\fP program creates a "random" maze and then solves it with @@ -27,7 +27,7 @@ or the id number (decimal or hex) of a specific visual. .TP 8 .B \-grid\-size \fIpixels\fP The size of each block of the maze, in pixels; default is 0, meaning -pick a random grid size. +pick a random grid size. Minimum meaningful value is 2. .TP 8 .B \-live\-color \fIcolor\fP The color of the path. @@ -74,14 +74,12 @@ complete. 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. .TP 8 .B \-max\-length \fInum\fP Controls the maximum length of walls drawn in one go by generator 1. -.TP 8 -.B \-bridge -.TP 8 -.B \-no\-bridge -Controls whether or not a 'bridge' will appear over the logo. .PP Clicking the mouse in the maze window controls it. .TP 16