{"id":15364780,"url":"https://github.com/chinesedfan/traces-solver","last_synced_at":"2025-04-06T13:48:56.151Z","repository":{"id":57378641,"uuid":"87531268","full_name":"chinesedfan/traces-solver","owner":"chinesedfan","description":"Solver for the iOS game `logic traces`","archived":false,"fork":false,"pushed_at":"2018-08-19T04:06:02.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-28T13:23:27.285Z","etag":null,"topics":["backtracking-algorithm","game","solver","traces"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/chinesedfan.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":"2017-04-07T09:49:09.000Z","updated_at":"2018-08-19T04:06:04.000Z","dependencies_parsed_at":"2022-09-26T16:41:32.861Z","dependency_job_id":null,"html_url":"https://github.com/chinesedfan/traces-solver","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinesedfan%2Ftraces-solver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinesedfan%2Ftraces-solver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinesedfan%2Ftraces-solver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinesedfan%2Ftraces-solver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinesedfan","download_url":"https://codeload.github.com/chinesedfan/traces-solver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247432095,"owners_count":20938092,"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-algorithm","game","solver","traces"],"created_at":"2024-10-01T13:13:16.832Z","updated_at":"2025-04-06T13:48:56.124Z","avatar_url":"https://github.com/chinesedfan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## traces-solver [![npm version](https://badge.fury.io/js/traces-solver.svg)](https://badge.fury.io/js/traces-solver) [![Build Status](https://travis-ci.org/chinesedfan/traces-solver.svg?branch=master)](https://travis-ci.org/chinesedfan/traces-solver) [![Coverage Status](https://coveralls.io/repos/github/chinesedfan/traces-solver/badge.svg?branch=master)](https://coveralls.io/github/chinesedfan/traces-solver?branch=master) [![License](https://img.shields.io/github/license/chinesedfan/traces-solver.svg)][license]\n\nSimple solver for the iOS game [logic traces](https://itunes.apple.com/us/app/logic-track-traces-puzzles/id1081609724).\n\nThe main idea is backtracking algorithm with little optimization. Please check test files for usage.\n\nHope a web page can be set up in the future!\n\n```\nvar Grid = require('traces-solver').Grid;\n\nvar input = [\n    [0, 0, 0, 0, 0, 0, 0, 4],\n    [2, 0, 2, 0, 0, 0, 3, 0],\n    [0, 0, 0, 0, 3, 0, 0, 0],\n    [0, 9, 0, 0, 0, 3, 0, 0],\n    [2, 0, 0, 0, 0, 6, 0, 0],\n    [0, 0, 3, 0, 0, 0, 0, 0],\n    [0, 0, 0, 1, 0, 0, 0, 5],\n    [0, 0, 0, 0, 5, 0, 2, 0]\n];\n\nvar grid = new Grid(input);\n// grid.debug = true;\ngrid.solve();\ngrid.print();\n```\n\n## License\n\n[MIT][license]\n\n[license]: https://github.com/chinesedfan/traces-solver/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinesedfan%2Ftraces-solver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinesedfan%2Ftraces-solver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinesedfan%2Ftraces-solver/lists"}