It has 3 main functions at the moment (I'll be adding more of the features used in TGCT client in future releases):
- stats - full perft stats, including nodes, captures, ep, castles, checks, mates etc
- nodes - just the node count, optimized to be a lot faster using bulk counting
- unique - calculates the number of unique positions reachable at a given depth
Code: Select all
stats:6:1024:kiwipete ~ 250Mnps (single-threaded)
stats_mt:7:1024:32:kiwipete ~ 4Bnps (multi-threaded)
nodes:7:1024:kiwipete ~ 4.5Bnps (single-threaded)
nodes_mt:9:1024:32:kiwipete ~ 85Bnps (multi-threaded)
unique:6:1024:kiwipete ~ 4m unique positions per second (single-threaded)
You can find releases for windows, linux & osx (including ARM builds) here
Note: It's the 'engine' download for the stand alone application, the 'client' is for contributing to the project.
This is the output of the 'help' command
Code: Select all
commands:
help - this output
stats:<depth>:<mb_hash>:<fen> - calculates the full perft stats, single-threaded
stats_mt:<depth>:<mb_hash>:<threads>:<fen> - calculates the full perft stats, multi-threaded
nodes:<depth>:<mb_hash>:<fen> - calculates the perft nodes, single-threaded
nodes_mt:<depth>:<mb_hash>:<threads>:<fen> - calculates the perft nodes, multi-threaded
unique:<depth>:<mb_hash>:<fen> - calculates the number of unique positions, single-threaded
exit - closes the program
clear - clears the console output
parameters:
<depth> - the number of ply to search up to
<mb_hash> - the hash table size in MB per thread
<threads> - the number of threads to use in a multi-threaded command
<fen> - the fen string for the position to search
special positions can be used in place of their fen:
start - rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
kiwipete - r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -
sje - r4rk1/1pp1qppp/p1np1n2/2b1p1B1/2B1P1b1/P1NP1N2/1PP1QPPP/R4RK1 w - - 0 10