-
Notifications
You must be signed in to change notification settings - Fork 82
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
Finish room case rule attempt #717
Conversation
…/cadogs/LEGUP into Surround_Completed_Region_newest
…s no case rules that alter 2 separate puzzzle tiles I added the basis for those in the case rule class
Remove unecessary changes from caseRule.java. Show all work before deleting uneccesary bits from finishRoom case rule attempt.
First clean attempt at rule.
need help
…/LEGUP into FinishRoomCaseRuleAttempt
Rooms seem to be finished correctly including all edge cases. Arrow color is still red but may be fixed when updating my branch.
Removed print statements and unnecessary lines
Green arrows now show when rule is ran correctly. Red arrow when incorrect and larger than 5 paths. Started the test case for it.
Work on test class and start of work within Rule and CaseRule to correctly display error message when too many cases are generated
Max cases is generalized for each case rule. Can be altered from the original 10 to whichever you choose. I input 5 for finish room and 2 for black or white case rule in Nurikabe but can be done for case rules in other puzzles. AutoCaseRuleCommand was changed as well to display message when too many cases of the case rule is generated.
Created and added new image to display the finish room case rule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the test, everything else seems fine. Will merge once the test is done and it is confirmed that it doesn't cause any issues.
Initial passing cases, may need additional work but currently passes.
…/LEGUP into FinishRoomCaseRuleAttempt
This comment was marked as outdated.
This comment was marked as outdated.
…/LEGUP into FinishRoomCaseRuleAttempt
Fixes green arrow when using case rule after altering 1 random tile. Also sets minimum cases number to 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never mind, changes are good.
Description
Closes #(issue)
Type of change
How Has This Been Tested?
Checklist: