{"id":24518801,"url":"https://github.com/wichopy/sudoku-solver-react","last_synced_at":"2025-03-15T11:20:54.265Z","repository":{"id":126340413,"uuid":"300466777","full_name":"wichopy/sudoku-solver-react","owner":"wichopy","description":null,"archived":false,"fork":false,"pushed_at":"2020-11-10T04:25:14.000Z","size":253,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T01:46:58.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/wichopy.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":"2020-10-02T01:11:46.000Z","updated_at":"2023-03-09T03:50:23.000Z","dependencies_parsed_at":"2023-04-26T18:48:16.828Z","dependency_job_id":null,"html_url":"https://github.com/wichopy/sudoku-solver-react","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/wichopy%2Fsudoku-solver-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichopy%2Fsudoku-solver-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichopy%2Fsudoku-solver-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wichopy%2Fsudoku-solver-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wichopy","download_url":"https://codeload.github.com/wichopy/sudoku-solver-react/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243720147,"owners_count":20336762,"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":[],"created_at":"2025-01-22T01:47:04.246Z","updated_at":"2025-03-15T11:20:54.245Z","avatar_url":"https://github.com/wichopy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Sudoku Solver\n\n### Algorithm\nA javascript based sudoku solver using backtracking to DFS all possible answers, and revert backwards when no possible values can be entered to try a different answer set.\n\nTo improve the efficiency of the algorithm, a min heap is used to prioritize cells with the fewest possible answers.\n\nThis is largely based off of this [essay](http://norvig.com/sudoku.html)\n\n### UI\nThe react app simply renders the answer and provides a text input for entering your own sudoku puzzles.\n\nTo improve on rendering performance, the sudoku solving algorithm is run in a background thread using web workers.\n\nTODO:\n- Use a web pack plugin to allow code sharing between worker and main react app\n- Improve algorithm to reuse previously processed possibleAnswers data.\n- Test UI\n- Allow a user to scan a sudoku using phone camera instead of having to paste in the text box.\n- For fun, add animation of the solution instead of loading and waiting for the answer to come.\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichopy%2Fsudoku-solver-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwichopy%2Fsudoku-solver-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwichopy%2Fsudoku-solver-react/lists"}