| 1 | .TH BATTLESHIPS 6 "Aug 23, 1989"
|
|---|
| 2 | .SH NAME
|
|---|
| 3 | bs \- battleships game
|
|---|
| 4 | .SH SYNOPSIS
|
|---|
| 5 | battle [ -b | -s ] [ -c ]
|
|---|
| 6 | .SH DESCRIPTION
|
|---|
| 7 | This program allows you to play the familiar Battleships game against the
|
|---|
| 8 | computer on a 10x10 board. The interface is visual and largely
|
|---|
| 9 | self-explanatory; you place your ships and pick your shots by moving the
|
|---|
| 10 | cursor around the `sea' with the rogue/hack motion keys hjklyubn.
|
|---|
| 11 | .PP
|
|---|
| 12 | Note that when selecting a ship to place, you must type the capital letter
|
|---|
| 13 | (these are, after all, capital ships). During ship placement, the `r' command
|
|---|
| 14 | may be used to ignore the current position and randomly place your currently
|
|---|
| 15 | selected ship. The `R' command will place all remaining ships randomly. The ^L
|
|---|
| 16 | command (form feed, ASCII 12) will force a screen redraw).
|
|---|
| 17 | .PP
|
|---|
| 18 | The command-line arguments control game modes.
|
|---|
| 19 |
|
|---|
| 20 | .nf
|
|---|
| 21 | -b selects a `blitz' variant
|
|---|
| 22 | -s selects a `salvo' variant
|
|---|
| 23 | -c permits ships to be placed adjacently
|
|---|
| 24 | .fi
|
|---|
| 25 |
|
|---|
| 26 | The `blitz' variant allows a side to shoot for as long as it continues to
|
|---|
| 27 | score hits.
|
|---|
| 28 | .PP
|
|---|
| 29 | The `salvo' game allows a player one shot per turn for each of his/her ships
|
|---|
| 30 | still afloat. This puts a premium scoring hits early and knocking out some
|
|---|
| 31 | ships and also makes much harder the situation where you face a superior force
|
|---|
| 32 | with only your PT-boat.
|
|---|
| 33 | .PP
|
|---|
| 34 | Normally, ships must be separated by at least one square of open water. The
|
|---|
| 35 | -c option disables this check and allows them to close-pack.
|
|---|
| 36 | .PP
|
|---|
| 37 | The algorithm the computer uses once it has found a ship to sink is provably
|
|---|
| 38 | optimal. The dispersion criterion for the random-fire algorithm may not be.
|
|---|
| 39 | .SH AUTHORS
|
|---|
| 40 | Originally written by one Bruce Holloway in 1986. Salvo mode added by Chuck A.
|
|---|
| 41 | DeGaul (cbosgd!cad). Visual user interface, `closepack' option, code rewrite
|
|---|
| 42 | and manual page by Eric S. Raymond <esr@snark.thyrsus.com> August 1989.
|
|---|