MAKEBEAROFF(6)
π MAKEBEAROFF π
okay so bestie, this is makebearoff from the Games Manual section (6), and she is literally the girl who builds your GNU Backgammon bearoff databases. no cap. π²β¨
β¨ NAME β¨
makebearoff β generate a GNU Backgammon bearoff database π§
πΈ SYNOPSIS πΈ
makebearoff [-HCcgnh] -f filename [-t PxC] [-o P] [-s cache-size] [-O
filename]
π¦ DESCRIPTION π¦
So makebearoff generates GNU Backgammon bearoff databases, which are the whole reason your endgame play stops being embarrassing. π
She can make either:
- two-sided (exact) databases β these tell you precisely the chance of winning, like, exact-exact
- one-sided (approximate) databases β these hand you a variety of probabilities, looking at each side independently
β οΈ real talk: bearoff databases can get quite large and can take a significant amount of time to generate when you've got large numbers of chequers and/or points. she's a big girl and she takes a while. π
π OPTIONS π
-ffilename,--outfilefilename β write the bearoff database to filename. this option must be given, like it is not optional bestie, she needs to know where to put the thing.-tPxC,--two-sidedPxC β generate a two-sided bearoff database for P points and C chequers for each player. π«Ά be warned tho: the size of the database grows rapidly with larger numbers of points and chequers. it's giving exponential.-oP,--one-sidedP β generate a one-sided bearoff database for P points. one-sided bearoff databases are always generated for up to fifteen chequers. always. periodt.-sN,--xhash-sizeN β use a memory cache of size N while building the database. if the cache is smaller than the database size, database generation will be slower due to disk writes. so like, size it right or suffer. π-Ofilename,--old-bearofffilename β reuse an already generated bearoff database. any needed data already in this database will just be copied without regenerating it. recycling! iconic! β»οΈ-H,--no-headerβ do not write the normal bearoff database header. she's going headerless, no biggie.-C,--no-cubefulβ do not calculate cubeful equities for two-sided databases.-c,--no-compressβ do not compress one-sided databases. file go big π-g,--no-gammonsβ do not include gammon distributions in one-sided databases.-n,--normal-distβ rather than storing exact probabilities, approximate probabilities in a one-sided database with a normal distribution. it's giving bell curve π-h,--helpβ display usage and exit. the classic. the helpful one. we love her.
π EXAMPLES π
to generate a two-sided database for up to eight chequers on six points:
makebearoff -t 6x8 -f gnubg_ts.bd
π note that this database is 72MB in size. yeah. seventy-two megabytes.
to generate a one-sided database for up to fifteen chequers on ten points:
makebearoff -o 10 -f gnubg_os.bd
π note that this database is 118MB in size. a hundred and eighteen. she's THICC.
π SEE ALSO π
gnubg(6), bearoffdump(6) β go read those too, they're part of the lore. iykyk β¨
π AUTHORS π
Joseph Heled, Γystein Johansen, JΓΈrn Thyssen, and Gary Wong, with the assistance of many others <bug-gnubg@gnu.org>. π«Ά
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). π
and that's the whole page, bestie!! source/version vibes: this is the 2024-02-27 edition of the MAKEBEAROFF(6) page, so go forth and generate those databases responsibly. πβ¨ππ¦πΈπ π«Άππ₯ππβππππ§π
π¦ where this page comes from
- 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
- 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