1 .\" Automatically generated from backgammon/backgammon/backgammon.6.in. Do not edit.
2 .\" $NetBSD: backgammon.6,v 1.8 2001/04/02 22:47:29 wiz Exp $
4 .\" Copyright (c) 1980, 1993
5 .\" The Regents of the University of California. All rights reserved.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 3. All advertising materials mentioning features or use of this software
16 .\" must display the following acknowledgement:
17 .\" This product includes software developed by the University of
18 .\" California, Berkeley and its contributors.
19 .\" 4. Neither the name of the University nor the names of its contributors
20 .\" may be used to endorse or promote products derived from this software
21 .\" without specific prior written permission.
23 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
35 .\" @(#)backgammon.6 8.1 (Berkeley) 5/31/93
42 .Nd the game of backgammon
45 .Nd learn to play backgammon
58 This program lets you play backgammon against the computer
59 or against a "friend".
60 All commands only are one letter,
61 so you don't need to type a carriage return,
62 except at the end of a move.
63 The program is mostly self documenting,
64 so that a question mark (?) will usually get some help.
65 If you answer `y' when the program asks if you want the rules,
66 you will get text explaining the rules of the game,
67 some hints on strategy,
68 instruction on how to use the program,
69 and a tutorial consisting of a practice game against the computer.
70 A description of how to use the program can be
71 obtained by answering `y' when it asks if you want instructions.
73 The possible arguments for backgammon
74 (most are unnecessary but some are very convenient)
76 .Bl -tag -width indent
78 don't ask for rules or instructions
80 player is red (implies n)
82 player is white (implies n)
84 two players, red and white (implies n)
86 print the board before red's turn
88 print the board before white's turn
90 print the board before both player's turn
95 .Pa /usr/share/misc/termcap
97 recover previously saved game from
102 .\" Arguments may be optionally preceded by a `-'.
103 .\" Several arguments may be concatenated together,
104 .\" but not after `s' or `t' arguments,
105 .\" since they can be followed by an arbitrary string.
106 Any unrecognized arguments are ignored.
107 An argument of a lone `-' gets a description of possible arguments.
111 has capabilities for direct cursor movement (see
114 ``fixes'' the board after each move,
115 so the board does not need to be reprinted,
116 unless the screen suffers some horrendous malady.
117 Also, any `p' option will be ignored.
118 (The `t' option is not necessary unless the terminal type does not match
120 .Pa /usr/share/misc/termcap
123 When the program prompts by typing only your color,
124 type a space or carriage return to roll, or
125 .Bl -tag -width indent
133 to save the game for later
136 When the program prompts with 'Move:', type
137 .Bl -tag -width indent
148 which is a sequence of
149 .Bl -tag -width indent
160 separated by commas or spaces and ending with a newline.
161 Available abbreviations are
162 .Bl -tag -width indent
177 or 0 or 25 as appropriate.
181 .Bl -tag -width /usr/share/misc/termcap -compact
182 .It Pa /usr/games/teachgammon
184 .It Pa /usr/share/misc/termcap
185 terminal capabilities
188 The program's strategy needs much work.