perft(6) code example Example: chess perft 5 r3k2r/pp1pp1pp/8/2pPPp/2P2P2/1P4P1/P6P/R3K2R w k f6 0 1 5