Sudoku Solver Ai Beats Puzzle in 9 Seconds
Tech Tribe
I write an algorithm to solve Sudoku that I run on various websites to try and dominate the leaderboard 🏅. What the video to see what happens!
The algorithm tries valid numbers in all empty cells until it either finishes the puzzle or it doesn't have any valid moves. If the sudoku solver is stuck, it goes back (or backtracks) and tries a different number combination until it gets it right. I used selenium to read data from the two websites (linked below). This Python sudoku solver was very fun to make, and it was the fastest sudoku solver on the second website! (although we did cheat lol)
I hope you enjoyed this video! I am no Code Bullet but am hoping that seeing this Python bot in action was somewhat entertaining to watch. You are welcome to leave thoughts, feedback, and ideas in the comment section.
This video took a very long time to make, so if you can smash the 👍, I'll be happy :)
Sudoku website 1: https://sudoku.puzzlebaron.com/init.php Sudoku website 2: https://www.elitesudoku.com/
Sudoku Bot Code: https://github.com/techtribeyt/sudoku #coding #bot #sudoku #programming ... https://www.youtube.com/watch?v=CcHA1hP5EsE
77316294 Bytes