Move-generation node count: 1 at depth 0, else the sum over every legal move. The
position is played and taken back as it goes, so it reads identical afterwards.
Counts match the published perft numbers, which is the whole point: a wrong move
generator cannot hide from them.
Move-generation node count: 1 at depth 0, else the sum over every legal move. The position is played and taken back as it goes, so it reads identical afterwards. Counts match the published perft numbers, which is the whole point: a wrong move generator cannot hide from them.