{"id":22191411,"url":"https://github.com/felipecacique/sudokusolver","last_synced_at":"2025-06-16T23:02:22.931Z","repository":{"id":188959243,"uuid":"679752631","full_name":"felipecacique/SudokuSolver","owner":"felipecacique","description":"Algorithms to solve Sudoku of sizes 9x9, 16x16 and 25x25","archived":false,"fork":false,"pushed_at":"2023-08-18T17:29:30.000Z","size":693,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T20:43:31.876Z","etag":null,"topics":["ac3-algorithm","backtracking-algorithm","computing-science","computingscience","python","sudoku","sudoku-solver"],"latest_commit_sha":null,"homepage":"https://felipecacique.pythonanywhere.com/","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/felipecacique.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":"2023-08-17T14:35:58.000Z","updated_at":"2025-02-23T16:15:22.000Z","dependencies_parsed_at":"2025-03-24T20:43:08.681Z","dependency_job_id":"76a744b2-0aa1-4262-8c65-aad7051257c7","html_url":"https://github.com/felipecacique/SudokuSolver","commit_stats":null,"previous_names":["felipecacique/sudokusolver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/felipecacique/SudokuSolver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecacique%2FSudokuSolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecacique%2FSudokuSolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecacique%2FSudokuSolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecacique%2FSudokuSolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felipecacique","download_url":"https://codeload.github.com/felipecacique/SudokuSolver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felipecacique%2FSudokuSolver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260256240,"owners_count":22981805,"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","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":["ac3-algorithm","backtracking-algorithm","computing-science","computingscience","python","sudoku","sudoku-solver"],"created_at":"2024-12-02T12:15:57.504Z","updated_at":"2025-06-16T23:02:22.903Z","avatar_url":"https://github.com/felipecacique.png","language":"Python","readme":"# Sudoku Solver\nProject for my Artificial Intelligence class at UFMG in 2018 in which we had to solve a Constraint Satisfactory Problem (CSP).\n\nThis work implements different [algorithms](https://github.com/felipecacique/SudokuSolver/blob/main/sudoku_solver.py) to solve a Sudoku of sizes 9x9, 16x16, and 25x25, including backtracking, arc consistency algorithm (AC3), and some heuristics. \nThe [notebook](https://github.com/felipecacique/SudokuSolver/blob/main/sudoku_solver.ipynb) demonstrates an example of how to use the developed functions to solve a Sudoku so that you can solve yours! :)\n\nThe method AC3HB (AC_3 + Heuristics + Backtracking) was found to be the fastest and the most complete one. \n\nFor more details on the project, algorithms, pseudocode, and time complexity, check the [paper](https://github.com/felipecacique/SudokuSolver/blob/main/Sudoku%20Solver%20-%20Felipe%20Vital.pdf).\n\n\nWe will show a few Sudoku puzzles solved by the algorithm AC3HB. The bold characters are the initially filled cells.\n\nVery Hard Sudoku 9x9 solved by AC3HB in 0.11s.\n\n\u003cimg src=\"https://github.com/felipecacique/SudokuSolver/blob/main/img/sudoku_9x9.png\" /\u003e\n\nMedium Sudoku 16x16 solved by AC3HB in 14s.\n\n\u003cimg src=\"https://github.com/felipecacique/SudokuSolver/blob/main/img/sudoku_16x16.png\" /\u003e\n\nVery Hard Sudoku 25x25 solved by AC3HB in 37s.\n\n\u003cimg src=\"https://github.com/felipecacique/SudokuSolver/blob/main/img/sudoku_25x25.png\" /\u003e\n\n\n### Our API\nWe have made available the use of our sudoku solver through an [API](https://github.com/felipecacique/SudokuSolver). The domain/route is http://felipecacique.pythonanywhere.com/sudoku/solve. Use the method PUT and send the sudoku in the JSON format like this [example](https://github.com/felipecacique/SudokuSolver/blob/main/json_example.txt).\n\n### Our APP\nYou are welcome to check our sudoku app on https://felipecacique.pythonanywhere.com/.\n##\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipecacique%2Fsudokusolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelipecacique%2Fsudokusolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelipecacique%2Fsudokusolver/lists"}