BEAROFFDUMP(6)
๐ BEAROFFDUMP โ games manual, section 6, bestie edition ๐
okay so this is bearoffdump, straight outta the Games Manual, section 6. she's a little command-line girly who peers into your GNU Backgammon bearoff database and spills the tea about one specific position. let's get into it ๐
โจ NAME โจ
bearoffdump โ dump a position from the GNU Backgammon bearoff database ๐
๐ธ SYNOPSIS ๐ธ
bearoffdump file id
๐ฆ DESCRIPTION ๐ฆ
so bearoffdump takes two things: the path to a GNU Backgammon bearoff database and a position number, and then it dumps the bearoff info for that position. that's it. that's the whole job. she's focused, she's efficient, she's giving main character energy. โจ
you can call her on either of these two girlies:
- the one-sided bearoff database, normally
/usr/share/gnubg/gnubg_os0.bd - the two-sided bearoff database, normally
/usr/share/gnubg/gnubg_ts0.bd
and the tea she serves is different depending on which one you hand her:
- for the one-sided one, the output includes the probabilities of bearing off all checkers in varying numbers of moves ๐ฅ
- for the two-sided one, she only gives the probability of winning and the doubling cube equity ๐
ngl bestie, the id is difficult to derive if you don't know GNU Backgammon internals. like, genuinely. it's not a vibe-check situation, it's an internals situation. ๐ญ
here's the lore tho: every possible combinatorial position of checkers and points gets assigned a position number. and then:
iddivided by that number = the player positionidmodulo that number = the opponent position
math girlies stay winning fr fr ๐งฎโจ
also, the number of points and checkers is set when the bearoff database is built, and bearoffdump will show you both of those when you run it with any id. so even if you have no idea what you're doing, you still get a lil freebie. ๐ซถ
๐ SEE ALSO ๐
๐ AUTHORS ๐
this icon was brought to you by Joseph Heled, รystein Johansen, Jรธrn Thyssen, and Gary Wong, with the assistance of many others <bug-gnubg@gnu.org>. absolute legends, all of them. ๐
this manual page was written by Russ Allbery <rra@debian.org>, for the Debian GNU/Linux system (but may be used by others). it may be redistributed and/or modified under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation (the same license as GNU Backgammon). periodt. ๐
okay that's the whole page bestie, no cap, every last detail preserved ๐ this lil beauty is dated 2006-01-14 and lives in the Games Manual, section 6 โ so go forth, dump some bearoff positions, and slay ๐โจ๐ฆ
๐ฆ where this page comes from
- debian bookworm: gnubg 1.07.001-1+b1 ยท GPL-3.0-or-later
- debian trixie: gnubg 1.08.003-3 ยท GPL-3.0-or-later
- fedora 43: gnubg 1:1.08.003-7.fc43 ยท GPL-3.0-only
- fedora 44: gnubg 1:1.08.003-8.fc44 ยท GPL-3.0-only
- nixos 26.05: gnubg 1.08.003
- nixpkgs unstable: gnubg 1.08.003
- opensuse-leap 16.0: gnubg 1.08.002-bp160.1.13 ยท GPL-3.0-or-later
- opensuse-leap 16.0: gnubg 1.08.002-bp160.1.13 ยท GPL-3.0-or-later
- opensuse-leap 16.0: gnubg 1.08.002-bp160.1.13 ยท GPL-3.0-or-later
- opensuse-leap 16.0: gnubg 1.08.002-bp160.1.13 ยท GPL-3.0-or-later
- ubuntu jammy: gnubg 1.06.002-5 ยท GPL-3.0-or-later
- ubuntu noble: gnubg 1.07.001-3build6 ยท GPL-3.0-or-later
- ubuntu questing: gnubg 1.08.003-3
- ubuntu resolute: gnubg 1.08.003-3build1 ยท GPL-3.0-or-later
- ubuntu stonking: gnubg 1.08.003-7 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms