Code an AI Sudoku Solver in Python

Published: 01 January 1970
on channel: The Assembly
5,407
75

Sudoku is an extremely popular logic and combinatorial math-based puzzle that millions attempt on a daily basis online and on paper. In this session, we will show you how to implement a Sudoku game in Python with an in-built automatic puzzle solver (using an ML backtracking algorithm to find and evaluate candidate solutions recursively) to add some AI to our effort. Our game will allow the users to enter the numbers into the grid interactively as per the rules, with a timer running for those who wish to get competitive.

For the workshop, we’ll use the free PyCharm IDE for Python (from JetBrains), so be sure to install that in advance to follow along—the IDE makes development and debugging for Python much easier.

Prerequisites:
—Basic knowledge of Python
—PyCharm IDE (www.jetbrains.com/pycharm)

Link to code on Github: https://github.com/The-Assembly/Code-...
-----------------------------------------

To learn more about The Assembly’s workshops, visit our website, social media or email us at workshops@theassembly.ae

Our website: http://theassembly.ae
Social media:
—Instagram:   / makesmartthings  
—Facebook: http://fb.com/makesmartthings
—Twitter:   / makesmartthings  

#Python #AI


On this page of the site you can watch the video online Code an AI Sudoku Solver in Python with a duration of hours minute second in good quality, which was uploaded by the user The Assembly 01 January 1970, share the link with friends and acquaintances, this video has already been watched 5,407 times on youtube and it was liked by 75 viewers. Enjoy your viewing!