I Made Sudoku Solve Itself!
HTML-код
- Опубликовано: 30 июл 2024
- Using Python I used the base code from Computerphile's Sudoku video found here: • Python Sudoku Solver -...
Then added custom inputs and automation using Pyautogui to make sudoku solve itself! Check out the links below for more content and references
Join me live on twitch every Saturday and Sunday Morning! / terranovatech
The full Code: github.com/Terranova-Python/S...
Pyautogui info: pyautogui.readthedocs.io/en/l...
TikTok: www.tiktok.com/@terranovus?la...
Thanks for watching I hope you enjoyed and if you want to see me do more fun projects, please leave a comment below and let me know.
Solve code - 0:18
Automation - 18:08
Finalization - 30:35
hey could you please make it read the screen? that would help me alot thanks!
@@drdeurbel
i do that for you
hello. i'm trying to make a sudoku puzzle in turbo basic programming language but i'm having a hard time coding it. doyou have a simple algorithm that you can share with me so i can code it? thank you so much
The fact you took the time to actually explain “ i “ made me subscribe. Great detail and explanation. Very well thought out
That's so cool how you managed to do that! You totally have skills. Keep up the good work.
That was awesome!
Entertaining and educational :)
Thanks for sharing
This is the best sudoku solver on youtube. The next evolution is to read the Javascript element and auto-read the board!
Finally created yt channel 🥰I am the one from Nepal that was having trouble joining your twitch 😏😏
I come from Tik tok . I trust you so i subscribed. keep providing tech info with enough time
for some reasons, the program doesn't write the number automatically on my computer :(
Can you please provide the web scraping part of the program
that is lit bro
Hey, please upload the basics learning of Python !..
next:
- include input readin
- add sudoku rules to avoid branching and show how many recursions can be reduced by each reduction rule
This is talent, not just skills. 😱😱😱
Thank you for taking it slow and giving us a 30+ min video
this is awsome
Waiting for screenreading with beautifulsup
This is awesome ... but I will probably never complete another sudoku again. please upload the next step (automatic input). I will have a go myself in the meantime but I'm a noob to python.
Hii! I wanted to know how did the automation on the site work? I mean how did the program solve sudoku on the site ? @Terranova Tech
I used Pyautogui to automate it - I talk about this part aroud 18:00
@@terranovatech8672ok thanks buddy
Heyyyy pleasee tell us a method where we can automate the input pleasee pleaseeee waiting for ur replyyy
I can't get it to run on Linux. Running test.py as you have it, and I get "[Running] python -u "/home/gene/Development/python/sudoku/test.py"
/bin/sh: 1: python: not found"
Using python3, have Python 3.8.2 selected as interpreter.
Any thoughts?
So I know this is really really late but you can forget about automating this with BS4 lol... They're DRAWING svgs of their numbers instead of using normal number inputs. Probably to deter cheating lol. But I suppose you could just alias 1-9 to that garbage the svg is using, since it should be the same for every number, it'll just look really stupid. For instance, this would be a nine...
NINE -> d="M10.897 31.595c-4.983 0-8.613-2.974-9.454-7.547h2.871c.718 3.015 3.22 5.045 6.624 5.045 5.23 0 8.203-4.779 8.408-13.064.02-.205-.102-.471-.123-.676H19.1c-1.271 3.26-4.552 5.434-8.428 5.434-5.66 0-9.762-4.163-9.762-9.803C.91 5.1 5.175.792 11.102.792c4 0 7.157 2.01 9.003 5.68 1.313 2.298 1.969 5.333 1.969 9.106 0 10.028-4.102 16.017-11.177 16.017zm.226-13.248c4.245 0 7.485-3.2 7.485-7.28 0-4.39-3.22-7.794-7.465-7.794-4.224 0-7.403 3.302-7.403 7.63 0 4.285 3.035 7.444 7.383 7.444z"
Keep up
Will u plz give the full code in description.
Its all on my Github - Links in the description :)
Cool
Came from tiktok ✌️
Please make a video on creating gaming channel or scasual channel on RUclips 😏🥰
in a for loop, "i" is for index
Or n for number, whatever you want really :)
@@terranovatech8672 I'm old enough to have learned a little FORTRAN in the mid-1970s in college. I remember variables i through n were automatically set as integers and therefore were always the go-to choices for loop index values. I don't know if FORTRAN stole it from Algol or some other older language but I know the idea goes back around fifty years.
hi plz can u make videos about hacking & coding i love ur tik tak
you know, no one can explained backtracking. I've watched at least 4 or 5 videos and everyone gets stuck in explaining why the code does what it does lol... I think only Turing understand backtracking
Big deal
idk why but ur code isn't working twice in a row 🫠
Big deal