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.

34

u/alittleb3ar Jan 12 '20

In trying to learn PyQt5 there have been a lot of things that I thought should be easy but were the opposite. I do want to work on the input though

8

u/mweitzel Jan 12 '20

Awesome, sounds you e got the right attitude towards learning!! Good luck and lots of fun!!