{"id":29693843,"url":"https://github.com/seqre/sudoku","last_synced_at":"2025-07-23T08:09:37.060Z","repository":{"id":52581223,"uuid":"329108287","full_name":"seqre/sudoku","owner":"seqre","description":"Sudoku solver written in Haskell as a semester project for course Functional Programming at the Jagiellonian University","archived":false,"fork":false,"pushed_at":"2021-05-04T23:10:48.000Z","size":77,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-04T00:00:32.814Z","etag":null,"topics":["semester-project","sudoku-solver"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/seqre.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":"2021-01-12T20:47:07.000Z","updated_at":"2021-04-27T22:02:39.000Z","dependencies_parsed_at":"2022-08-30T22:42:22.106Z","dependency_job_id":null,"html_url":"https://github.com/seqre/sudoku","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/seqre/sudoku","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqre%2Fsudoku","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqre%2Fsudoku/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqre%2Fsudoku/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqre%2Fsudoku/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seqre","download_url":"https://codeload.github.com/seqre/sudoku/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seqre%2Fsudoku/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266640830,"owners_count":23960809,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["semester-project","sudoku-solver"],"created_at":"2025-07-23T08:09:36.040Z","updated_at":"2025-07-23T08:09:37.050Z","avatar_url":"https://github.com/seqre.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sudoku solver\n\n```\n|---------|---------|\n| S  U  D | O  K  U |\n| 1     3 |    5  9 |\n| S  O  L | V  E  R |\n|---------|---------|\n```\n\nSudoku solver written in Haskell as a semester project for course Functional Programming at the Jagiellonian University.\n\nIt is based on the simplified version of [the Pencil-and-Paper algorithm](https://www.ams.org/notices/200904/rtx090400460p.pdf) for Solving Sudoku Puzzles.\n\n## Project setup\n[Install stack](https://docs.haskellstack.org/en/stable/install_and_upgrade/) then execute below commands:\n```\ngit clone https://github.com/seqre/sudoku.git\ncd sudoku\nstack setup\nstack build\nstack exec sudoku-exe\n```\n\n## Usage\n\n`sudoku SOLVER`\n\nThen supply the sudoku in the following format:\n\n`Sudoku:{numerical representation of sudoku}`\n\nWhere `numerical representation of sudoku` are concatenated rows of sudoku with numbers 1-9 for given numbers and 0 for blanks. \n\n### Example\n\n```\n    3  9 | 5       |         \n         | 8       |    7    \n         |    1    | 9     4 \n---------|---------|---------\n 1       | 4       |       3 \n         |         |         \n       7 |         | 8  6    \n---------|---------|---------\n       6 | 7     8 | 2       \n    1    |    9    |       5 \n         |       1 |       8 \n```\n\nThis board will result in such representation:\n`Sudoku:039500000000800070000010904100400003000000000007000860006708200010090005000001008`\n\n## Solvers\n\n- `auto` - mode chosen by program\n- `bruteforce`\n- `penandpaper` - TODO\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseqre%2Fsudoku","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseqre%2Fsudoku","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseqre%2Fsudoku/lists"}