AlexanderJCS / multiplayer-sudoku

Front end for my multiplayer Sudoku game.
MIT License
1 stars 1 forks source link

Puzzle generation seems to be the same across difficulties #7

Closed AlexanderJCS closed 5 months ago

AlexanderJCS commented 5 months ago

Database entries for different difficulties of the same puzzle seem to be the same

AlexanderJCS commented 5 months ago

Seems like an issue with the puzzle generation algorithm. I added this TODO comment in sudoku_board.py for me to complete:

# TODO: instead, get a list of the available spaces. shuffle them, then go through them in order and set 0
AlexanderJCS commented 5 months ago

Did a band-aid fix where all puzzles are just one difficulty. Will make a new issue when I'm ready for better puzzle generation.