docs(core): record unlimited stock recycling as an intentional rules decision #122
Reference in New Issue
Block a user
Delete Branch "docs/recycle-rule-decision"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolves #117 by documenting the current behaviour as deliberate rather than adding a hard pass limit (per discussion — a limit would invalidate the verified difficulty seed catalog and the winnable-deal solver, and mainstream digital solitaire allows unlimited Draw-1 redeals with score penalties).
Changes
solitaire_coresection explaining the rule, why it's load-bearing, and where it's locked in.GameState::draw()— doc comment points at the decision record so nobody "fixes" it casually.draw_one_recycling_is_unlimited_by_design— drives a Draw-1 game through 10+ recycles and assertsdraw()is never rejected on pass count.Verification
cargo clippy --workspace -- -D warningscleancargo test --workspaceall passing (new test included)Closes #117
🤖 Generated with Claude Code