99* To make it easy to create stand-alone applications that use the Syzygy
1010 tablebases;
1111
12- API
13- ---
12+ Tool
13+ ----
14+
15+ Fathom includes a stand-alone command-line syzygy probing tool ` fathom ` . To
16+ probe a position, simply run the command:
17+
18+ fathom --path=<path-to-TB-files> "FEN-string"
19+
20+ The tool will print out a PGN representation of the probe result, including:
21+
22+ * Result: "1-0" (white wins), "1/2-1/2" (draw), or "0-1" (black wins)
23+ * The Win-Draw-Loss (WDL) value for the next move: "Win", "Draw", "Loss",
24+ "CursedWin" (win but 50-move draw) or "BlessedLoss" (loss but 50-move draw)
25+ * The Distance-To-Zero (DTZ) value (in plys) for the next move
26+ * WinningMoves: The list of all winning moves
27+ * DrawingMoves: The list of all drawing moves
28+ * LosingMoves: The list of all losing moves
29+ * A pseudo "principle variation" of Syzygy vs. Syzygy for the input position.
30+
31+ For more information, run the following command:
32+
33+ fathom --help
34+
35+ Pre-compiled versions of ` fathom ` (for all platforms) are available from here:
36+
37+ * https://github.com/basil00/Fathom/releases
38+
39+ Programming API
40+ ---------------
1441
1542Fathom provides a simple API. There are three main function calls:
1643
@@ -25,14 +52,6 @@ to provide any additional functionality (e.g. move generation) unlike the
2552traditional ` tbprobe ` code. However, chess engines can opt to replace some
2653of the functionality of Fathom for better performance (see below).
2754
28- Tool
29- ----
30-
31- Fathom includes a stand-alone command-line syzygy probing tool ` fathom ` .
32- Run the following command for more information:
33-
34- fathom --help
35-
3655Chess Engines
3756-------------
3857
0 commit comments