{"id":41790729,"url":"https://github.com/mkboudreau/sudoku","last_synced_at":"2026-01-25T05:02:18.396Z","repository":{"id":79961072,"uuid":"46327741","full_name":"mkboudreau/sudoku","owner":"mkboudreau","description":"Sudoku Solver","archived":false,"fork":false,"pushed_at":"2015-12-01T20:45:21.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-15T02:10:53.617Z","etag":null,"topics":["assignment","not-maintained","tinkering"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mkboudreau.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}},"created_at":"2015-11-17T06:29:03.000Z","updated_at":"2018-07-17T19:10:19.000Z","dependencies_parsed_at":"2023-03-13T22:01:11.943Z","dependency_job_id":null,"html_url":"https://github.com/mkboudreau/sudoku","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mkboudreau/sudoku","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkboudreau%2Fsudoku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkboudreau%2Fsudoku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkboudreau%2Fsudoku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkboudreau%2Fsudoku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkboudreau","download_url":"https://codeload.github.com/mkboudreau/sudoku/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkboudreau%2Fsudoku/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28744419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T02:46:29.005Z","status":"ssl_error","status_checked_at":"2026-01-25T02:44:29.968Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["assignment","not-maintained","tinkering"],"created_at":"2026-01-25T05:02:03.715Z","updated_at":"2026-01-25T05:02:18.390Z","avatar_url":"https://github.com/mkboudreau.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sudoku Solver\n## Go Challenge #8\n\nThis program has some fun to it. It has two different approaches (aka finders) to solve sudoku puzzles and it also will colorize the solution as it is solving it, including showing backtracking. \n\nWorks best with a black terminal.\n\n## Getting the Program\n\n    go get github.com/mkboudreau/sudoku\n    make\n    #optional\n    #make install\n\n## Usage \n\n### Two Modes of Operation\n1. Provide a board (3 different ways)\n    - `./sudoku \u003c sample`\n    - `cat sample | ./sudoku`\n    - `./sudoku \u003cpaste in board\u003e`\n\n2. Generate a board\n    - `./sudoku -g \u003cdifficulty\u003e`\n\n### Options\n    `-h` Highlights the solution\n    `-p` Shows the game actually being solved. Very Fun! Enlarge your terminal. :)\n    `-t \u003ctime duration\u003e` Default is \"1ms\". Slow it down to watch the solution play out, including backtracking. (try 250ms)\n    `-f \u003cfinder\u003e` There are two different next available coordinate finders in the code. The default is \"closest\" which is faster for any given coordinate, but can be super slow when backtracking a lot. The other one that is implemented is \"rank\" which will recompute the best available coordinate among remaining available coordinates. This appears to be faster on harder boards.\n    `-d` Displays the difficulty of the board. Default is true\n    `-a` Turns on autosolving, so the program will not prompt you to be ready.\n    `-g \u003cdifficulty\u003e` Create new puzzle with diffulty between 1-5 with 5 being the most difficult. Default is 3 (default -1)\n    `-l \u003cloglevel\u003e` Sets the log level. [off,error,debug,trace] (default \"error\")\n  \n## Examples\n\n### Solves the sample file and displays the difficulty\n- Option 1: `./sudoku \u003c sample`\n\n- Option 2: `cat sample | ./sudoku`\n\n### Solves the sample file, highlights the solution\n    cat sample | ./sudoku -h\n\n### Solves the sample file, showing the solution at a very fast speed\n    cat sample | ./sudoku -p\n\n### Solves the sample file, showing the solution at a slower speed and using the rank finder\n    cat sample | ./sudoku -p -t 500ms -f rank\n\n### Creates a hard puzzle, shows the puzzle, and prompts user to solve\n    ./sudoku -g 5 \n\n### Creates a hard puzzle, auto-solves using the rank finder and shows it solve with a 250ms delay\n    ./sudoku -f rank -p -t 250ms -g 5 -a\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkboudreau%2Fsudoku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkboudreau%2Fsudoku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkboudreau%2Fsudoku/lists"}