{"id":21053523,"url":"https://github.com/etcinit/snakes","last_synced_at":"2025-05-15T21:36:49.991Z","repository":{"id":20826480,"uuid":"24112373","full_name":"etcinit/snakes","owner":"etcinit","description":"PHP implementation of the Snake-in-the-box problem","archived":false,"fork":false,"pushed_at":"2014-10-07T16:06:16.000Z","size":180,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-08-04T10:11:05.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/etcinit.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}},"created_at":"2014-09-16T18:35:06.000Z","updated_at":"2023-08-04T10:11:05.287Z","dependencies_parsed_at":"2022-07-26T09:32:18.321Z","dependency_job_id":null,"html_url":"https://github.com/etcinit/snakes","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Fsnakes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Fsnakes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Fsnakes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etcinit%2Fsnakes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etcinit","download_url":"https://codeload.github.com/etcinit/snakes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225384398,"owners_count":17465879,"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":"2024-11-19T16:07:02.120Z","updated_at":"2024-11-19T16:07:02.946Z","avatar_url":"https://github.com/etcinit.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snake-in-the-box\n\nPHP implementation of the Snake-in-the-box AI problem\n\n## Setup\n\n1.- Setup composer and download dependencies:\n\n`composer update`\n\n2.- Test that it works:\n\n`php run.php`\n\n## Example:\n\nShow path for hypercube (4 dimensions):\n\n`php run.php snakes -d 4 -p`\n\n## Randomized Example:\n\nShow approximate longest path for dimension 7 (using 10000000 iterations):\n\n`php run.php snakes -d 7 -r -i 10000000 -vv`\n\n## New heuristic (Guided search):\n\n`php run.php snakes:guided -d 7 -i 100000`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcinit%2Fsnakes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetcinit%2Fsnakes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetcinit%2Fsnakes/lists"}