In easy mode, it proposes grid with more than one solution

Bug #1518625 reported by AlainKnaff
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Sudoku App
New
Undecided
Unassigned

Bug Description

In easy mode (and possibly more difficult modes as well...), it proposes grids with more than one solution.

Revision history for this message
Paul Sonnenschein (paul-u-one-login) wrote :

The problem lays at the implementation of the algorithm:
The CU.Sudoku.cull function in the file js/SudokuCU.js chooses the numbers to remove from the generated grid randomly without taking into account whether a number is essential for the solution which was generated before the removal of certain numbers. So sometimes essential numbers get removed by this function, and the grid is ambiguous.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.