Description
Puzzle generation currently relies on non-deterministic RNG, making it impossible to reproduce a reported bug ("puzzle #4 generated an unsolvable board") or to write deterministic regression tests. Add seedable generation.
Acceptance Criteria
Description
Puzzle generation currently relies on non-deterministic RNG, making it impossible to reproduce a reported bug ("puzzle #4 generated an unsolvable board") or to write deterministic regression tests. Add seedable generation.
Acceptance Criteria
rand::SeedableRng(e.g.StdRng::seed_from_u64)--seed <u64>CLI flag reproduces an identical puzzle sequence across runsREADME.mdunder a "Reproducing a bug" section