1BEAROFFDUMP(6) Games Manual BEAROFFDUMP(6)
2
3
4
6 bearoffdump - dump a position from the GNU Backgammon bearoff database
7
9 bearoffdump file id
10
12 bearoffdump takes the path to a GNU Backgammon bearoff database and a
13 position number and dumps the bearoff information for that position.
14 It can be called on either the one-sided bearoff database, normally
15 /usr/share/gnubg/gnubg_os0.bd; or the two-sided bearoff database, nor‐
16 mally /usr/share/gnubg/gnubg_ts0.bd. The output from the former
17 includes the probabilities of bearing off all checkers in varying num‐
18 bers of moves. The latter only gives the probability of winning and
19 doubling cube equity.
20
21 The id is difficult to derive if you don't know GNU Backgammon inter‐
22 nals. Each possible combinatorial position of checkers and points is
23 assigned a position number, id divided by that number is the player
24 position, and id modulo that number is the opponent position. The num‐
25 ber of points and checkers is set when building the bearoff database
26 and are shown by bearoffdump when run with any id.
27
29 gnubg(6)
30
32 Joseph Heled, Øystein Johansen, Jørn Thyssen, and Gary Wong, with the
33 assistance of many others <bug-gnubg@gnu.org>.
34
35 This manual page was written by Russ Allbery <rra@debian.org>, for the
36 Debian GNU/Linux system (but may be used by others). It may be redis‐
37 tributed and/or modified under the terms of version 2 of the GNU Gen‐
38 eral Public License as published by the Free Software Foundation (the
39 same license as GNU Backgammon).
40
41
42
43 2006-01-14 BEAROFFDUMP(6)