Share your repls and programming experiences

← Back to all posts
A sudoku solver I made
DmitriiPavlov

I am new to programming, so I would appreciate any tips to improve this.

Voters
CrackerHacker
LingWu1
Soccer135246
Spacecraft
littlepenguin
kingscomix
lightningrock
SamPardoe
ThunderPython
zplusfour
Comments
hotnewtop
Glare

This is crazy! My Dad would love to use this to check his answers. Awesome!

DmitriiPavlov

Sorry for how bad this looks, this GUI module is not very good.

Pythonator01

Try pygame

DynamicSquid

Nice!

DmitriiPavlov

@DynamicSquid I looked on your profile, and noticed you made a very similar thing in Java - any tips to make mine faster?

LingWu1

Very nice @DmitriiPavlov

littlepenguin

Awesome! Can you make it so the user can't put the same number in each row or column?

DmitriiPavlov

@KirikAltekar That would be a good idea... instead what I ended up doing is just making it so it checks it when the user presses enter. I will look into it.

DmitriiPavlov

@KirikAltekar It is updated now

ThunderPython

This was really a nice game @DmitriiPavlov . I am also new to programming and I also work in the same language. If you are up for an unofficial jam challenge the click on the link, read rules and participate. The link is
https://repl.it/talk/share/HELLO-RELPERS/55241

DmitriiPavlov
ThunderPython
Jeydin21

@DmitriiPavlov Hey, are these actually accurate?

DmitriiPavlov

@Jeydin21, yup every solution it gives is 100% accurate you can verify it yourself. This is really good for solving a sudoku puzzle you'd find in a newspaper since it wouldn't have multiple solutions - as do all good sudoku puzzles.

SwaroopBappanad

This is sick!

RahulChoubey1

It solved a sudoku with only 9 cells filled

DmitriiPavlov

@RahulChoubey1 It finds a possible solution, if there is multiple it will find one.

DmitriiPavlov

@RahuChoubey1 I might update it to enable you to cycle through multiple of them.

RahulChoubey1
FloCal35

Noice

CoolJames1610

This is advanced! So you're not new xD

DmitriiPavlov

@CoolJames1610 Nah, this took me a while lmao

CoolJames1610

@DmitriiPavlov maybe but it is still advanced :D wowee

DmitriiPavlov
CoolJames1610

@DmitriiPavlov no problem :D

CoolJames1610

AWESOME! WOW!