{"id":21861318,"url":"https://github.com/seng3694/sudokusolver","last_synced_at":"2025-08-20T17:23:56.315Z","repository":{"id":114139514,"uuid":"127335502","full_name":"Seng3694/SudokuSolver","owner":"Seng3694","description":"C++ Sudoku Solver using the backtracking algorithm","archived":false,"fork":false,"pushed_at":"2018-03-29T19:19:30.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T14:50:08.146Z","etag":null,"topics":["backtracking","backtracking-algorithm","cmake","cpp","sudoku","sudoku-solver"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Seng3694.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-03-29T19:03:34.000Z","updated_at":"2024-05-14T17:50:45.000Z","dependencies_parsed_at":"2023-06-14T07:00:24.630Z","dependency_job_id":null,"html_url":"https://github.com/Seng3694/SudokuSolver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seng3694%2FSudokuSolver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seng3694%2FSudokuSolver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seng3694%2FSudokuSolver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seng3694%2FSudokuSolver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seng3694","download_url":"https://codeload.github.com/Seng3694/SudokuSolver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244860600,"owners_count":20522466,"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":["backtracking","backtracking-algorithm","cmake","cpp","sudoku","sudoku-solver"],"created_at":"2024-11-28T03:11:10.962Z","updated_at":"2025-03-21T20:18:33.939Z","avatar_url":"https://github.com/Seng3694.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sudoku Solver #\n\nC++ sudoku solver with backtracking algorithm inspired by [Code My Road][4].\n\n## Backtracking Algorithm ##\n![algorithm][1]\n\n\n## How to use ##\n\nWrite a sudoku riddle in a text file:\n\n```\n0 0 3   0 2 0   6 0 0\n9 0 0   3 0 5   0 0 1\n0 0 1   8 0 6   4 0 0\n    \t    \t    \n0 0 8   1 0 2   9 0 0\n7 0 0   0 0 0   0 0 8\n0 0 6   7 0 8   2 0 0\n    \t    \t    \n0 0 2   6 0 9   5 0 0\n8 0 0   2 0 3   0 0 9\n0 0 5   0 1 0   3 0 0\n```\n\nThe formatting is purely aesthetic (but it works). You can just write a 81 characters long string if that's your kind of thing.\n\nYou can either run the program with the command line or just drag\u0026drop the file onto the executable:\n```\n\u003eSudokuSolver.exe \"path/to/sudoku/sudoku.txt\"\n```\n\nFirst it prints the riddle:\n\n![not_solved][2]\n\nThen it solves it:\n\n![solved][3]\n\n## Build ##\n\nProject uses [CMake][5] to generate platform and compiler-specific build files.\n\n### Dependencies ###\n\nNote that this project uses `C++14` features such as `auto` and `lambdas`, and therefore requires a `C++14` compliant compiler in order to build successfully.\n\n### Building on Windows (Visual Studio) ###\n1. Clone the repository\n    ```\n    git clone https://github.com/Seng3694/SudokuSolver\n    ```\n\n2. Generate the build files\n    ```\n    mkdir build\n    cd build\n    cmake -G \"Visual Studio 15\" ../SudokuSolver\n    cmake --build . --config Release\n    ```\n\n### Building on Linux\n1. Clone the repository\n    ```\n    git clone https://github.com/Seng3694/SudokuSolver\n    ```\n\n2. Generate the build files\n    ```\n    mkdir build\n    cd build\n    cmake -G \"Unix Makefiles\" ../SudokuSolver\n    cmake --build . --config Release\n    ```\n\n[1]: https://codemyroad.files.wordpress.com/2014/04/output_hqxeh9.gif\n[2]: https://cdn.discordapp.com/attachments/425728769236664350/428988250414383104/unknown.png\n[3]: https://cdn.discordapp.com/attachments/425728769236664350/428989437557342208/unknown.png\n[4]: https://codemyroad.wordpress.com/2014/05/01/solving-sudoku-by-backtracking/\n[5]: http://www.cmake.org/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseng3694%2Fsudokusolver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseng3694%2Fsudokusolver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseng3694%2Fsudokusolver/lists"}