1MAKEBEAROFF(6)                   Games Manual                   MAKEBEAROFF(6)
2
3
4

NAME

6       makebearoff - generate a GNU Backgammon bearoff database
7

SYNOPSIS

9       makebearoff [-HCcgnvh] -f filename [-t PxC] [-o P] [-s cache-size] [-O
10       filename]
11

DESCRIPTION

13       makebearoff generates GNU Backgammon bearoff databases, which are used
14       to improve play in the endgame.  It can generate either two-sided
15       (exact) databases that tell precisely the chance of winning or one-
16       sided (approximate) databases that provide a variety of probabilities
17       looking at each side independently.
18
19       Bearoff databases can get quite large and can take a significant amount
20       of time to generate for large numbers of chequers and/or points.
21

OPTIONS

23       -f filename, --outfile filename
24              Write the bearoff database to filename.  This option must be
25              given.
26
27       -t PxC, --two-sided PxC
28              Generate a two-sided bearoff database for P points and C che‐
29              quers for each player.  Be warned that the size of the database
30              grows rapidly with larger numbers of points and chequers.
31
32       -o P, --one-sided P
33              Generate a one-sided bearoff database for P points.  One-sided
34              bearoff databases are always generated for up to fifteen che‐
35              quers.
36
37       -s N, --xhash-size N
38              Use a memory cache of size N while building the database.  If
39              the cache is smaller than the database size, database generation
40              will be slower due to disk writes.
41
42       -O filename, --old-bearoff filename
43              Reuse an already generated bearoff database.  Any needed data
44              already in this database will just be copied without regenerat‐
45              ing it.
46
47       -H, --no-header
48              Do not write the normal bearoff database header.
49
50       -C, --no-cubeful
51              Do not calculate cubeful equities for two-sided databases.
52
53       -c, --no-compress
54              Do not compress one-sided databases.
55
56       -g, --no-gammons
57              Do not include gammon distributions in one-sided databases.
58
59       -n, --normal-dist
60              Rather than storing exact probabilities, approximate probabili‐
61              ties in a one-sided database with a normal distribution.
62
63       -v, --version
64              Show version information and exit.
65
66       -h, --help
67              Display usage and exit.
68

EXAMPLES

70       To generate a two-sided database for up to eight chequers on six
71       points:
72
73           makebearoff -t 6x8 -f gnubg_ts.bd
74
75       Note that this database is 72MB in size.  To generate a one-sided data‐
76       base for up to fifteen chequers on ten points:
77
78           makebearoff -o 10 -f gnubg_os.bd
79
80       Note that this database is 118MB in size.
81

SEE ALSO

83       gnubg(6), bearoffdump(6)
84

AUTHORS

86       Joseph Heled, Øystein Johansen, Jørn Thyssen, and Gary Wong, with the
87       assistance of many others <bug-gnubg@gnu.org>.
88
89       This manual page was written by Russ Allbery <rra@debian.org>, for the
90       Debian GNU/Linux system (but may be used by others).  It may be redis‐
91       tributed and/or modified under the terms of version 2 of the GNU Gen‐
92       eral Public License as published by the Free Software Foundation (the
93       same license as GNU Backgammon).
94
95
96
97                                  2006-01-15                    MAKEBEAROFF(6)
Impressum