Fewrick / 02122-software-projekt

0 stars 0 forks source link

Congratulation prompt on wrongly completed sudokus #49

Closed Fewrick closed 3 months ago

Fewrick commented 3 months ago

Chatten har været en skat og lave denne lille summary :-)

When a player completes a Sudoku puzzle, the game should validate the solution before displaying the completion prompt. Currently, the completion prompt appears regardless of whether the solution is correct or not. This misleads players into thinking they have successfully solved the puzzle when they may have errors in their solution.

Steps to Reproduce:

Open the game and start a Sudoku puzzle.
Fill in the grid with an incorrect solution (ensure there are violations of Sudoku rules).
Complete filling all cells in the grid.
Observe that the completion prompt activates.

Expected Behavior: The completion prompt should only activate if the Sudoku solution is validated as correct, with no rule violations.

Actual Behavior: The completion prompt activates regardless of whether the Sudoku solution is correct or incorrect.

Impact: This bug undermines the challenge and integrity of the game, as players do not receive accurate feedback on their puzzle-solving performance.

Severity: Moderate - It affects the core functionality of the game and player experience but does not cause the game to crash

Fewrick commented 3 months ago

Problem is fixed but there may be edge cases where it still persists, so not closing the issue yet.