From 3acb69a3da5b93c13d6e22f11553b382a49fbe5b Mon Sep 17 00:00:00 2001 From: rodri Date: Fri, 8 Sep 2023 14:28:55 +0000 Subject: wrote a manual. --- bts.man | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ mkfile | 10 ++++++---- 2 files changed, 68 insertions(+), 4 deletions(-) create mode 100644 bts.man diff --git a/bts.man b/bts.man new file mode 100644 index 0000000..39f8cd4 --- /dev/null +++ b/bts.man @@ -0,0 +1,62 @@ +.TH battleship 1 +.SH NAME +bts, btsd \- multi-user on-line battleship (sink the fleet) +.SH SYNOPSIS +.B games/bts +[ +.B -d +] +.I dialstring +.br +.B games/btsd +[ +.B -d +] +[ +.B -a +.I addr +] +.SH DESCRIPTION +.I bts +and +.I btsd +are the client and server for a multi-user, on-line version of +.IR Battleship , +the strategy and guessing board game. It's based on Milton Bradley's +1990 release, but without the player having to disclose the kind of +ship the opponent hits. +.PP +The +.I -d +flag enables debugging for both programs. You can change the server's +announce address with +.IR -a , +which by default is tcp!*!3047. +.SH PLAYING +First each player lays their fleet on their +.I local +board. +.PP +Then the battle will begin, and each player has a turn to try and +figure out their opponent's fleet layout, by taking a shot at any +coordinate in the +.I target +board. +.PP +There's no timeout, so players can take as long as they want to fire a +shot. Use this to deploy your PSYOP skills. +.PP +The first player to find and sink the enemy fleet wins. If you quit +or disconnect, you lose. +.SH SOURCE +.B /sys/src/games/battleship +.SH SEE ALSO +.IR games (1) +.br +battleship.pdf, +.I +Milton Bradley Company, 1990. +.SH BUGS +What are bugs? turns out it's a complicated question. +.SH HISTORY +Battleship first appeared in 9front on September, 2023. diff --git a/mkfile b/mkfile index ca7218d..850ec44 100644 --- a/mkfile +++ b/mkfile @@ -16,10 +16,12 @@ HFILES=\