{"id":27337878,"url":"https://github.com/rhizoome/matahatan","last_synced_at":"2025-04-12T15:25:11.415Z","repository":{"id":221432847,"uuid":"754364209","full_name":"rhizoome/matahatan","owner":"rhizoome","description":"Virtual Maze Solving Challenge","archived":false,"fork":false,"pushed_at":"2024-09-03T21:42:57.000Z","size":381,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T02:35:16.212Z","etag":null,"topics":["code-sharing","inactive"],"latest_commit_sha":null,"homepage":"https://rhizoome.ch/sharing","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rhizoome.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-07T22:36:03.000Z","updated_at":"2024-11-21T16:18:36.000Z","dependencies_parsed_at":"2024-02-08T23:54:30.056Z","dependency_job_id":"cfb101ad-ea0d-4eef-9257-13ea90552c47","html_url":"https://github.com/rhizoome/matahatan","commit_stats":null,"previous_names":["ganwell/matahatan","rhizoome/matahatan"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhizoome%2Fmatahatan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhizoome%2Fmatahatan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhizoome%2Fmatahatan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhizoome%2Fmatahatan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhizoome","download_url":"https://codeload.github.com/rhizoome/matahatan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248587783,"owners_count":21129294,"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":["code-sharing","inactive"],"created_at":"2025-04-12T15:25:10.957Z","updated_at":"2025-04-12T15:25:11.391Z","avatar_url":"https://github.com/rhizoome.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matahatan\n\nVirtual Maze Solving Challenge\n\n[Micromouse](https://youtu.be/kMOssi5IcP0?si=2qSlp-7MrDTbPzCF\u0026t=13)\n\nMove the mouse to the goal of the maze in the least frames. You can steer\nleft/right, accelerate and break. If the mouse is fast, the turning radius is\nlarge so you have to break before corners. It is a about balance of speed and\nfinding the best path. Write a program that solves the maze.\n\n## Repository Status: Sharing / Inactive\n\nThis repository hosts code that I’ve chosen to share publicly for educational,\ndemonstration, or archival purposes. Please note the following:\n\n- **No Active Maintenance**: This project is not actively maintained or updated.\n  It serves primarily as a snapshot of a certain stage of development for those\n  who might find parts of the code useful or interesting. I try to accept pull-\n  request, but do not expect anything. If interest in the project increases, I\n  might change the repository status.\n- **No Support Provided**: As this is an inactive project, I’m unable to provide\n  support, answer issues, or accommodate pull requests.\n- **Use at Your Own Risk**: While you’re welcome to explore, fork, or use the\n  code in your own projects, please do so with the understanding that this\n  repository is provided as-is, without any guarantees on its functionality or\n  security.\n\nFeel free to explore the code and utilize it under the terms of the license\nattached to this repository!\n\n## State\n\n* stick-mode working\n* stdio-mode working\n\n## stdio\n\n- you get the maze as json\n- input: `{\"steering\":1,\"acceleration\":1}`\n- output: `{\"x\":0.5092106,\"y\":0.5038942,\"angle\":0.4,\"collision\":false}`\n\n### maze\n\n- n: north passage exists\n- o: east passage exists\n- s: south passage exists\n- w: west passage exists\n\ncoordiates of output (x, y: f32) match index of the passages (floor(x), floor(y)).\n\n## Command-line\n\nNot implemented options are removed. (--lua)\n\n```\nTest/train your maze-solver\n\nUsage: matahatan simulate [OPTIONS]\n\nOptions:\n  -f, --fps \u003cFPS\u003e              FPS of the simulation not the GUI (0 as fast as\n                               possible) [default: 25]\n  -x, --no-gui                 Do not run GUI (unattended training) sets FPS to 0\n  -o, --stdio                  Run the simulation in stdio-mode (disables FPS)\n  -s, --stick                  Run the simulation with stick (gamepad/joystick)\n  -m, --maze-seed \u003cMAZE-SEED\u003e  Maze seed (any string) [default: ]\n  -k, --maze-kind \u003cMAZE-KIND\u003e  Maze kind ('ellers', 'backtracking',\n                               'growing_tree', 'prims') [default: backtracking]\n  -h, --help                   Print help\n```\n\nRun from source: `cargo run --release -- simulate --stdio`\n\n## Screenshot\n\n\u003cimg src=\"screenshot.png\" alt=\"Matahatan\" width=\"700\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhizoome%2Fmatahatan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhizoome%2Fmatahatan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhizoome%2Fmatahatan/lists"}