The utility for counting all possible chess moves (based on the perft function).
Features
counting all possible moves:
parameters:
representing the board:
as an associative array of pieces with their positions as keys;
as a plain array of pieces with exact correspondence array indices to piece positions;
as a set of integers corresponding to a particular combination of piece color and type, and where each bit corresponds to a particular piece position (so-called a bitboard);
position;
color that moves first;
analysis deep;
profiling:
targets:
CPU usage;
memory usage;
storing the results to files.
Installation
$ go install github.com/thewizardplusplus/go-chess-models/cmd/go-chess-perft@latest