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

Fix "No Number Contradiction" #34

Merged
merged 2 commits into from
Sep 28, 2021
Merged

Fix "No Number Contradiction" #34

merged 2 commits into from
Sep 28, 2021

Conversation

cjreed121
Copy link
Collaborator

Current Behavior
Right now there is a bug in the no number contradiction as pointed out in #32. The would incorrectly let you do a contradiction rule.

Additionally, the fill in black rule uses this contradiction rule. The fill in black rule had a bug as pointed out in #30.

New Behavior
The bug is no longer present as there is a check to verify all cells around the cell at question are black. This also ended up fixing the other bug.

Closes #32
Closes #30

If you test please try boards that are bugged and boards that work.

@Bram28
Copy link
Member

Bram28 commented Sep 26, 2021

Ha! Excellent! Do you see the power of programming rules in terms of other rules?

@Gerzer Gerzer changed the title Fix No Number Contradiction Fix "No Number Contradiction" Sep 28, 2021
@Bram28 Bram28 merged commit 67fbc0e into dev Sep 28, 2021
@charlestian23 charlestian23 deleted the fix_no_number_contradiction branch February 2, 2023 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants