{"id":17352520,"url":"https://github.com/lucko515/sudoku-ai-solver","last_synced_at":"2025-10-08T13:47:19.632Z","repository":{"id":104742868,"uuid":"97988121","full_name":"lucko515/Sudoku-AI-solver","owner":"lucko515","description":"This is the first project for Artificial Intelligence Nanodegree @Udacity. Sudoku solver.","archived":false,"fork":false,"pushed_at":"2017-07-21T21:34:09.000Z","size":179,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T12:49:18.991Z","etag":null,"topics":["aind","artificial-intelligence","constraint-satisfaction-problem","sudoku-solver"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucko515.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-21T21:32:45.000Z","updated_at":"2017-07-23T09:24:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"96b26d8d-b590-4478-8977-8dec5b873ab2","html_url":"https://github.com/lucko515/Sudoku-AI-solver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lucko515/Sudoku-AI-solver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko515%2FSudoku-AI-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko515%2FSudoku-AI-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko515%2FSudoku-AI-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko515%2FSudoku-AI-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucko515","download_url":"https://codeload.github.com/lucko515/Sudoku-AI-solver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucko515%2FSudoku-AI-solver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278956303,"owners_count":26075221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aind","artificial-intelligence","constraint-satisfaction-problem","sudoku-solver"],"created_at":"2024-10-15T17:13:58.107Z","updated_at":"2025-10-08T13:47:19.588Z","avatar_url":"https://github.com/lucko515.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Artificial Intelligence Nanodegree\n## Introductory Project: Diagonal Sudoku Solver\n\n# Question 1 (Naked Twins)\nQ: How do we use constraint propagation to solve the naked twins problem?  \nA: The naked twins constraint helps to simplify our sudoku table and make it easier to solve.\nThe constraint of naked twins is that no boxes in unit(s) with naked twins in them have digits \nwhich are in the naked twins boxes. By removing those digits from all boxes in a unit except\nthe boxes which make the naked twins, we are making sudoku easier to solve.\n\n# Question 2 (Diagonal Sudoku)\nQ: How do we use constraint propagation to solve the diagonal sudoku problem?  \nA: To introduce this constraint to our problem is very easy, our job is to add two more\nunits to our unit list (one per diagonal). By doing so, we are adding more peers for each box\nand thats our new constraint to be aware of. In solving process nothing is changed, we apply\nour solving strategies (Elimination, only-choice, naked twins) as before.\n\n### Install\n\nThis project requires **Python 3**.\n\nWe recommend students install [Anaconda](https://www.continuum.io/downloads), a pre-packaged Python distribution that contains all of the necessary libraries and software for this project. \nPlease try using the environment we provided in the Anaconda lesson of the Nanodegree.\n\n##### Optional: Pygame\n\nOptionally, you can also install pygame if you want to see your visualization. If you've followed our instructions for setting up our conda environment, you should be all set.\n\nIf not, please see how to download pygame [here](http://www.pygame.org/download.shtml).\n\n### Code\n\n* `solution.py` - You'll fill this in as part of your solution.\n* `solution_test.py` - Do not modify this. You can test your solution by running `python solution_test.py`.\n* `PySudoku.py` - Do not modify this. This is code for visualizing your solution.\n* `visualize.py` - Do not modify this. This is code for visualizing your solution.\n\n### Visualizing\n\nTo visualize your solution, please only assign values to the values_dict using the ```assign_values``` function provided in solution.py\n\n### Submission\nBefore submitting your solution to a reviewer, you are required to submit your project to Udacity's Project Assistant, which will provide some initial feedback.  \n\nThe setup is simple.  If you have not installed the client tool already, then you may do so with the command `pip install udacity-pa`.  \n\nTo submit your code to the project assistant, run `udacity submit` from within the top-level directory of this project.  You will be prompted for a username and password.  If you login using google or facebook, visit [this link](https://project-assistant.udacity.com/auth_tokens/jwt_login for alternate login instructions.\n\nThis process will create a zipfile in your top-level directory named sudoku-\u003cid\u003e.zip.  This is the file that you should submit to the Udacity reviews system.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucko515%2Fsudoku-ai-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucko515%2Fsudoku-ai-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucko515%2Fsudoku-ai-solver/lists"}