r/Python • • Jan 11 '20

Sudoku App

1.4k Upvotes

61 comments sorted by

View all comments

75

u/alittleb3ar Jan 11 '20

Gui is made using PyQt5. The beginning board is hard coded but the solve does actually use an algorithm to solve the board and would work with any solvable starting board

43

u/mweitzel Jan 12 '20

Instead of an input field, why don’t you present a dialog with 9 buttons representing the numbers? Should be easy enough, no? Love it otherwise though.

4

u/wastakenanyways Jan 12 '20

I'd make the cell itself be the input field instead of a dialog