The game logic currently takes quite a long time to figure out a solvable puzzle and solve it.
Some profiling revealed that, in a small database generation with 4 puzzles which takes around 86 seconds, a good 64 seconds are spent in checking whether a number is in the same quadrant. This can be improved for sure.
Some improvement made in 649eda5. Profiling revealed that after this commit, the run time went down to 24 seconds on the exact same database generation.
The game logic currently takes quite a long time to figure out a solvable puzzle and solve it.
Some profiling revealed that, in a small database generation with 4 puzzles which takes around 86 seconds, a good 64 seconds are spent in checking whether a number is in the same quadrant. This can be improved for sure.