🐛 Bug Report: Board appears same irrespective of the difficulty
Description
No matter whether a player chooses Easy, Medium, or Hard mode, the Sudoku board looks the same and has the same number of empty cells. This makes the difficulty selection ineffective and misleading.
Problem
- Easy, Medium, and Hard modes currently generate boards with no visible difference in difficulty.
- The number of empty cells (or pre-filled cells) does not change based on the difficulty setting.
- Players do not experience actual variation in challenge level when switching difficulties.
Expected Behavior
- Each difficulty level should generate a board with a different number of empty cells or altered puzzle complexity:
- Easy → More pre-filled cells, fewer empty ones.
- Medium → Balanced number of pre-filled vs. empty cells.
- Hard → Fewer pre-filled cells, more empty ones.
Steps to Reproduce
- Select Easy mode and start a game.
- Select Medium mode and start another game.
- Select Hard mode and start another game.
- Observe that the board layout and number of empty cells remain the same across all modes.
Possible Fix
- Review the board generation logic to ensure difficulty is factored into puzzle creation.
- Adjust the puzzle generator to use different parameters (e.g., number of givens/empty cells) for each difficulty level.
- Confirm difficulty settings are properly passed into the board creation function.
Additional Context
- This might be caused by the difficulty parameter not being passed down correctly from the mode selection to the board generator.
- Double-check the board generation function and how it receives difficulty settings.
🐛 Bug Report: Board appears same irrespective of the difficulty
Description
No matter whether a player chooses Easy, Medium, or Hard mode, the Sudoku board looks the same and has the same number of empty cells. This makes the difficulty selection ineffective and misleading.
Problem
Expected Behavior
Steps to Reproduce
Possible Fix
Additional Context