module

Experion::Perft

Instance methods

count(pos : Position, depth : Int32, buf : Pointer(UInt16)) : UInt64
Source
count_no_bulk(pos : Position, depth : Int32, buf : Pointer(UInt16)) : UInt64

Cross-check: non-bulk perft that makes every single move (validates the bulk-counting assumption itself).

Source
divide(pos : Position, depth : Int32) : Nil

Per-root-move breakdown for debugging.

Source
run(pos : Position, depth : Int32) : UInt64

Convenience wrapper allocating the move buffer.

Source