tropicalwzc / ice_sudoku.github.io

专业数独程序 iOS/Windows/macOS/Ubuntu
MIT License
128 stars 14 forks source link

Generate better sudoku steps message like sudoku-solutions #6

Open chucklu opened 3 years ago

chucklu commented 3 years ago

79..36...56......3843.5..6.387......629573184154.8..3.475.2.316938167452216345978 You can load the sudoku on site https://www.sudoku-solutions.com/ with identification code "chuck20201228-002". And click solve, you will get steps as following: every step with the techniques used

Step 1: X-Wing in cells ( B5 , D5 , B8 , D8 ) The candidate value 9 must be in one of these cells. Actions: Candidate 9 removed from cells ( B4, B6, D4, D6, D9 )

Step 2: Naked Single in cell ( D9 ) The cell has a single candidate with the value 5 Actions: Cell solved with the value 5. Candidate 5 removed from cells ( A9, D7 )

image

chucklu commented 3 years ago

Maybe row number from A to I is better than 1 to 9, we can use B5 to represent r2c5 (r for row, c for column). By the way I find you count the row and column start from 0, it's weird to count. The UI design you might check the sudoku-solutions site, how to show the x-wing better.

image

tropicalwzc commented 3 years ago

IMG_23F899C84648-1 iOS version has better display style, Qt version's UI has not been updated for months

chucklu commented 3 years ago

Just a suggestion, currently sudoku-solutions is the best sudoku solver I found. By the way, I do not use mobile app, always use app on computer.

tropicalwzc commented 3 years ago

Qt version didn't Fully support English , maybe I should add a setting menu to choose language like iOS version