summaryrefslogtreecommitdiffstats
path: root/boggle
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2001-04-02 22:46:18 +0000
committerwiz <wiz@NetBSD.org>2001-04-02 22:46:18 +0000
commitc11d6e5973dd644dfde4ad21cd952de5db55828a (patch)
tree86825779645545d0b998cb7360766c7fb7d40ed3 /boggle
parentd905aa8ca89bbae01e1ae08256ccc4929920c19f (diff)
downloadbsdgames-darwin-c11d6e5973dd644dfde4ad21cd952de5db55828a.tar.gz
bsdgames-darwin-c11d6e5973dd644dfde4ad21cd952de5db55828a.tar.zst
bsdgames-darwin-c11d6e5973dd644dfde4ad21cd952de5db55828a.zip
mdoc'ify, and clean up in the process.
Diffstat (limited to 'boggle')
-rw-r--r--boggle/boggle/boggle.6113
1 files changed, 62 insertions, 51 deletions
diff --git a/boggle/boggle/boggle.6 b/boggle/boggle/boggle.6
index a92a6c3b..6dee882a 100644
--- a/boggle/boggle/boggle.6
+++ b/boggle/boggle/boggle.6
@@ -1,4 +1,4 @@
-.\" $NetBSD: boggle.6,v 1.2 1995/03/21 12:14:35 cgd Exp $
+.\" $NetBSD: boggle.6,v 1.3 2001/04/02 22:46:18 wiz Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -36,15 +36,23 @@
.\"
.\" @(#)boggle.6 8.1 (Berkeley) 6/11/93
.\"
-.TH BOGGLE 6 "June 11, 1993"
-.UC
-.SH NAME
-boggle \- word search game
-.SH SYNOPSIS
-boggle [-bd] [-s seed] [-t time] [-w length] [+[+]] [boardspec]
-.SH DESCRIPTION
+.Dd April 1, 2001
+.Dt BOGGLE 6
+.Os
+.Sh NAME
+.Nm boggle
+.Nd word search game
+.Sh SYNOPSIS
+.Nm
+.Op Fl bd
+.Op Fl s Ar seed
+.Op Fl t Ar time
+.Op Fl w Ar length
+.Op + Op +
+.Op boardspec
+.Sh DESCRIPTION
The object of
-.I boggle
+.Nm
is to find as many words as possible on the Boggle board within the three
minute time limit.
A Boggle board is a four by four arrangement of Boggle cubes, each side of
@@ -55,60 +63,63 @@ The (N+1)th cube in the word must be horizontally,
vertically, or diagonally adjacent to the Nth cube.
Cubes cannot be reused.
Words consist solely of lower case letters and must be at least 3 letters long.
-.PP
+.Pp
Command line flags can be given to change the rules of the game.
-The
-.B +
-flag allows a cube to be used multiple times, but not in succession.
-The
-.B ++
-flag allows the same cubes to be considered adjacent to itself.
-.B
-A seed other than the time of day is specified by
-.B -s#,
-where
-.B #
-is the seed.
-The time limit can be changed from the default 3 minutes by using the flag
-.B -t#,
-where
-.B #
-is the duration (in seconds) of each game.
-The minimum word length can be changed from 3 letters by specifying
-.B -w#,
-where
-.B #
-is the minimum number of letters to use.
-.PP
-A starting board position can be specified on the command line by
-listing the board left to right and top to bottom.
-.PP
-The
-.B -b
-flag puts
-.I boggle
+.Bl -tag -width boardspec
+.It Fl b
+Run
+.Nm
in batch mode.
A
-.B boardspec
+.Ar boardspec
must also be given.
The dictionary is read from stdin and a list of words appearing in
-.B boardspec
+.Ar boardspec
is printed to stdout.
-.PP
-Help is available during play by typing `?'.
+.It Fl d
+Enable debugging output.
+.It Fl s Ar seed
+Specify a seed
+.Ar seed
+other than the time of day.
+.It Fl t Ar time
+Set the time limit for each game from the default 3 minutes to
+.Ar time
+seconds.
+.It Fl w Ar length
+Change the minimum word length from 3 letters to
+.Ar length .
+.It Ar +
+This flag allows a cube to be used multiple times, but not in succession.
+.It Ar ++
+This flag allows the same cubes to be considered adjacent to itself.
+.It Ar boardspec
+A starting board position can be specified on the command line by
+listing the board left to right and top to bottom.
+.El
+.Pp
+Help is available during play by typing
+.Ic Sq ? .
More detailed information on the game is given there.
-.SH BUGS
+.Sh BUGS
If there are a great many words in the cube the final display of the words
may scroll off of the screen. (On a 25 line screen about 130 words can be
displayed.)
-.sp 2
-No word can contain a 'q' that is not immediately followed by a 'u'.
-.sp 2
-When using the '+' or '++' options the display of words found in the board
+.Pp
+No word can contain a
+.Sq q
+that is not immediately followed by a
+.Sq u .
+.Pp
+When using the
+.Ar +
+or
+.Ar ++
+options the display of words found in the board
doesn't indicate reused cubes.
-.SH AUTHOR
+.Sh AUTHOR
Boggle is a trademark of Parker Brothers.
-.br
+.Pp
Barry Brachman
.br
Dept. of Computer Science