summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-08-04 11:51:30 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-08-04 11:51:30 +0000
commitade1249e35f7181432855ec8f1b10f9e265cc8f2 (patch)
tree99d00c5806363d03b5610107acb0e4c9f95fbdc5 /games
parent9e5829fb61eaec160c79aac2715bf12514e168d7 (diff)
And another.
Diffstat (limited to 'games')
-rw-r--r--games/boggle/boggle/boggle.6149
1 files changed, 95 insertions, 54 deletions
diff --git a/games/boggle/boggle/boggle.6 b/games/boggle/boggle/boggle.6
index a92a6c3b401..9133cecb49f 100644
--- a/games/boggle/boggle/boggle.6
+++ b/games/boggle/boggle/boggle.6
@@ -1,5 +1,36 @@
+.\" $OpenBSD: boggle.6,v 1.2 1997/08/04 11:51:29 downsj Exp $
.\" $NetBSD: boggle.6,v 1.2 1995/03/21 12:14:35 cgd Exp $
.\"
+.\" Copyright (c) 1997, Jason Downs. All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\" must display the following acknowledgement:
+.\" This product includes software developed by Jason Downs for the
+.\" OpenBSD system.
+.\" 4. Neither the name(s) of the author(s) nor the name OpenBSD
+.\" may be used to endorse or promote products derived from this software
+.\" without specific prior written permission.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS
+.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+.\" DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT,
+.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -36,81 +67,91 @@
.\"
.\" @(#)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 August 4, 1997
+.Dt BOGGLE 6
+.Os OpenBSD
+.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 Ar + Ns Op Ar +
+.Op Ar 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
-each cube displaying a letter of the alphabet or `qu'.
+minute time limit. A Boggle board is a four by four arrangement of Boggle
+cubes, each side of each cube displaying a letter of the alphabet or
+.Sq qu .
Words are formed by finding a sequence of cubes (letters) that are in the
-game's dictionary.
-The (N+1)th cube in the word must be horizontally,
-vertically, or diagonally adjacent to the Nth cube.
-Cubes cannot be reused.
+game's dictionary. 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
+.Sh OPTIONS
Command line flags can be given to change the rules of the game.
+.Bl -tag -width XxXXXXXXXX
+.It Ar +
The
-.B +
+.Ar +
flag allows a cube to be used multiple times, but not in succession.
+.It Ar ++
The
-.B ++
+.Ar ++
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 #
+.It Fl s Ar seed
+Specify a seed other than the time of day, where
+.Ar seed
is the seed.
-The time limit can be changed from the default 3 minutes by using the flag
-.B -t#,
-where
-.B #
+.It Fl t Ar time
+The time limit may be changed from the default 3 minutes, where
+.Ar time
is the duration (in seconds) of each game.
-The minimum word length can be changed from 3 letters by specifying
-.B -w#,
-where
-.B #
+.It Fl w Ar length
+The minimum word length may be changed from 3 letters, where
+.Ar length
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
+.It Fl b
The
-.B -b
+.Fl b
flag puts
-.I boggle
+.Nm
in batch mode.
+.El
+.Pp
+A starting board position can be specified on the command line by
+listing the board left to right and top to bottom.
+.Pp
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 `?'.
+.Pp
+Help is available during play by typing
+.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
-doesn't indicate reused cubes.
-.SH AUTHOR
+.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
Boggle is a trademark of Parker Brothers.
-.br
-Barry Brachman
-.br
-Dept. of Computer Science
-.br
-University of British Columbia
+.Pp
+Barry Brachman, Dept. of Computer Science, University of British Columbia