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

Extending to multi-colored nonograms #6

Open
helq opened this issue Jul 17, 2023 · 0 comments
Open

Extending to multi-colored nonograms #6

helq opened this issue Jul 17, 2023 · 0 comments

Comments

@helq
Copy link

helq commented Jul 17, 2023

According to Batenburg and Kosters (2009), the algorithm allows for more than two colors (black and white). I want to modify the implementation to allow for multicolored nonograms.

But looking at the code, it seems like this is NOT easy to implement. Correct me if I'm wrong, but the entirety of the implementation assumes only two possible colors, black and white, and thus adding a new color would require a complete refactoring of the entire code base first.

How long do you think it would take to refactor the code to allow for more than two colors? (Ignoring the extra code to load a new file format and the png generation. Those are easy.)

Thanks!

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

No branches or pull requests

1 participant