Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new sudokuwiki.org string definition #59

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

adjeiv
Copy link

@adjeiv adjeiv commented Oct 26, 2023

Refs #56
Modify the 'allDigits' string to use the new definition, which encodes candidate information.

Currently, this only uses the 'innerPencil' markings, as these are what are populated by default when using the auto-calculate candidates function. Further, this ignores the hide pencil markings setting, but am happy to change this to only account for candidates when pencil markings are being shown if desired.

Tests cover empty grids with no candidate information; auto-calculated candidates; a mixture of candidates, givens, and solved clues; a mixture of candidates, givens, solved clues and cells with no candidate information.

@grantm
Copy link
Owner

grantm commented Oct 26, 2023

Thanks for this! I hope to get a chance to review this in a week or so.

@adjeiv
Copy link
Author

adjeiv commented Nov 15, 2023

Friendly bump on this, in case you’ve had a chance to take a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants