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

Make puzzle generator respect available clues #2

Open
turnerhayes opened this issue Dec 17, 2017 · 0 comments
Open

Make puzzle generator respect available clues #2

turnerhayes opened this issue Dec 17, 2017 · 0 comments

Comments

@turnerhayes
Copy link
Owner

Currently, if you change the layout of a puzzle (add or remove block cells), the selected cells may end up in an invalid state. For example, given the following layout:

(= represents a cell that is currently highlighted, X represents a block cell)

= = X
X

The current direction is across, which is fine because there's a legitimate across clue. Now, if you add a block cell like so:

= X X
X

then there is no longer a legitimate across clue, because the highlighted clue only has one cell across.

The app should automatically adjust the current direction to be down. If down is not valid, then some other behavior (remove cell selection?)

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

No branches or pull requests

1 participant