📄 bs.6
字号:
.TH BATTLESHIPS 6 "Aug 23, 1989".SH NAMEbs \- battleships game.SH SYNOPSISbattle [ -b | -s ] [ -c ].SH DESCRIPTIONThis program allows you to play the familiar Battleships game against thecomputer on a 10x10 board. The interface is visual and largelyself-explanatory; you place your ships and pick your shots by moving thecursor around the `sea' with the rogue/hack motion keys hjklyubn..PPNote that when selecting a ship to place, you must type the capital letter(these are, after all, capital ships). During ship placement, the `r' commandmay be used to ignore the current position and randomly place your currentlyselected ship. The `R' command will place all remaining ships randomly. The ^Lcommand (form feed, ASCII 12) will force a screen redraw)..PPThe command-line arguments control game modes. .nf -b selects a `blitz' variant -s selects a `salvo' variant -c permits ships to be placed adjacently.fiThe `blitz' variant allows a side to shoot for as long as it continues toscore hits..PPThe `salvo' game allows a player one shot per turn for each of his/her shipsstill afloat. This puts a premium scoring hits early and knocking out someships and also makes much harder the situation where you face a superior forcewith only your PT-boat..PPNormally, ships must be separated by at least one square of open water. The-c option disables this check and allows them to close-pack..PPThe algorithm the computer uses once it has found a ship to sink is provablyoptimal. The dispersion criterion for the random-fire algorithm may not be..SH AUTHORSOriginally written by one Bruce Holloway in 1986. Salvo mode added by Chuck A.DeGaul (cbosgd!cad). Visual user interface, `closepack' option, code rewriteand manual page by Eric S. Raymond <esr@snark.thyrsus.com> August 1989.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -