aboutsummaryrefslogtreecommitdiff
path: root/bs/bs.6
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-05-07 16:32:32 -0400
committerB. Watson <yalhcru@gmail.com>2015-05-07 16:32:32 -0400
commit013ac7742311556022304e8b30ca170d48b3a016 (patch)
tree53faa33e75991363f1a6dcc7edc83a66b70e6995 /bs/bs.6
downloadbsd-games-extra-013ac7742311556022304e8b30ca170d48b3a016.tar.gz
initial commit
Diffstat (limited to 'bs/bs.6')
-rw-r--r--bs/bs.676
1 files changed, 76 insertions, 0 deletions
diff --git a/bs/bs.6 b/bs/bs.6
new file mode 100644
index 0000000..65f61b3
--- /dev/null
+++ b/bs/bs.6
@@ -0,0 +1,76 @@
+.\" $FreeBSD: src/games/bs/bs.6,v 1.1.1.1.12.1 2001/07/22 11:32:10 dd Exp $
+.Dd August 23, 1989
+.Dt BS 6
+.Os
+.Sh NAME
+.Nm bs
+.Nd battleships game
+.Sh SYNOPSIS
+.Nm
+.Op Fl bsc
+.Sh DESCRIPTION
+This program allows you to play the familiar Battleships game against the
+computer on a 10x10 board.
+The interface is visual and largely self-explanatory;
+you place your ships and pick your shots by moving the
+cursor around the
+.Sq sea
+with the
+.Xr rogue 6
+/
+.Xr hack 6
+motion keys
+.Dq hjklyubn .
+.Pp
+Note that when selecting a ship to place, you must type the capital letter
+(these are, after all, capital ships).
+During ship placement, the `r' command may be used to ignore the current
+position and randomly place your currently selected ship.
+The `R' command will place all remaining ships randomly.
+The \&^L command (form feed, ASCII 12) will force a screen redraw).
+.Pp
+The command-line arguments control game modes.
+.Bl -tag -width ".Fl b"
+.It Fl b
+selects a
+.Dq blitz
+variant
+.It Fl s
+selects a
+.Dq salvo
+variant
+.It Fl c
+permits ships to be placed adjacently
+.El
+.Pp
+The
+.Dq blitz
+variant allows a side to shoot for as long as it continues to score hits.
+.Pp
+The
+.Dq salvo
+game allows a player one shot per turn for each of his/her ships still afloat.
+This puts a premium scoring hits early and knocking out some
+ships and also makes much harder the situation where you face a superior force
+with only your PT-boat.
+.Pp
+Normally, ships must be separated by at least one square of open water.
+The
+.Fl c
+option disables this check and allows them to close-pack.
+.Pp
+The algorithm the computer uses once it has found a ship to sink is provably
+optimal.
+The dispersion criterion for the random-fire algorithm may not be.
+.Sh AUTHORS
+.An -nosplit
+Originally written by one
+.An Bruce Holloway
+in 1986.
+Salvo mode added by
+.An Chuck A. DeGaul Aq cbosgd!cad .
+Visual user interface,
+.Sq closepack
+option, code rewrite and manual page by
+.An Eric S. Raymond Aq Mt esr@snark.thyrsus.com ,
+August 1989.