Skip to content

Seed 000000079 crashes on mobile #25

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

Open
romainrichard opened this issue Jun 17, 2024 · 1 comment
Open

Seed 000000079 crashes on mobile #25

romainrichard opened this issue Jun 17, 2024 · 1 comment

Comments

@romainrichard
Copy link

The app seems to freeze and closes after about 10s. As I'm playing in sequential mode this was blocking my progress.

To fix it I edited the settings.cfg file and changed the seed to 80. I also generated the puzzle 79 on pc (which didn't crash but was pretty slow), saved the level and transfered the file to my phone. I'm able to load that puzzle just fine now.

So the issue isn't the puzzle itself but generating it on mobile.

@SerGreen
Copy link
Owner

SerGreen commented Jun 18, 2024

Oh god, that level 79 generation is very slow indeed. I think it's caused by the sheer size of the grid and amount of rules present. It's trying to check all possible solutions for the puzzle before approving it and the amount of brute force is just too much. On mobile it may be the OS closing the app as not responding after 10 sec. I should add a timeout or something to prevent such cases. Thanks for reporting.

image

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

2 participants