backgammon man page on 4.4BSD

Man page or keyword search:  
man Server   1065 pages
apropos Keyword Search (all sections)
Output format
4.4BSD logo
[printable version]


       backgammon - the game of backgammon

       backgammon [ - ] [ n r w b pr pw pb tterm sfile ]

       This program lets you play backgammon against the computer or against a
       "friend".  All commands only are one letter, so you don't need to  type
       a  carriage return, except at the end of a move.	 The program is mostly
       self documenting, so that a question mark (?)  will  usually  get  some
       help.   If  you answer `y' when the program asks if you want the rules,
       you will get text explaining the rules  of  the	game,  some  hints  on
       strategy,  instruction  on  how to use the program, and a tutorial con‐
       sisting of a practice game against the computer.	 A description of  how
       to use the program can be obtained by answering `y' when it asks if you
       want instructions.

       The possible arguments for backgammon (most are	unnecessary  but  some
       are very convenient) consist of:

       n       don't ask for rules or instructions

       r       player is red (implies n)

       w       player is white (implies n)

       b       two players, red and white (implies n)

       pr      print the board before red's turn

       pw      print the board before white's turn

       pb      print the board before both player's turn

       tterm   terminal is type term, uses /etc/termcap

       sfile   recover previously saved game from file.	 (This can also be
	       done by executing the saved file, i.e., typing its name in as a

       Arguments  may  be optionally preceded by a `-'.	 Several arguments may
       be concatenated together, but not after `s'  or	`t'  arguments,	 since
       they  can  be  followed by an arbitrary string.	Any unrecognized argu‐
       ments are ignored.  An argument of a lone `-'  gets  a  description  of
       possible arguments.

       If  term	 has  capabilities for direct cursor movement (see termcap(5))
       backgammon ``fixes'' the board after each move, so the board  does  not
       need to be reprinted, unless the screen suffers some horrendous malady.
       Also, any `p' option will be ignored.  (The `t' option is not necessary
       unless  the  terminal type does not match the entry in the /etc/termcap
       data base.)

       When the program prompts by typing only your color,  type  a  space  or
       carriage return to roll, or

       d       to double

       p       to print the board

       q       to quit

       s       to save the game for later

       When the program prompts with 'Move:', type

       p       to print the board

       q       to quit

       s       to save the game

       or a move, which is a sequence of

       s-f     move from s to f

       s/r     move one man on s the roll r

       separated  by  commas  or  spaces and ending with a newline.  Available
       abbreviations are

       s-f1-f2	 means s-f1,f1-f2

       s/r1r2	 means s/r1,s/r2

       Use `b' for bar and `h' for home, or 0 or 25 as appropriate.

       Alan Char

       /usr/games/teachgammon	- rules and tutorial

       /etc/termcap		- terminal capabilities

       The program's strategy needs much work.

4.2 Berkeley Distribution	 May 31, 1993			 BACKGAMMON(6)

List of man pages available for 4.4BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net