{"id":18258000,"url":"https://github.com/jsmolka/maze","last_synced_at":"2025-04-04T18:31:27.776Z","repository":{"id":133433058,"uuid":"98227018","full_name":"jsmolka/maze","owner":"jsmolka","description":"Create and solve mazes in Python.","archived":false,"fork":false,"pushed_at":"2018-12-11T10:27:30.000Z","size":223,"stargazers_count":38,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-20T17:05:45.236Z","etag":null,"topics":["algorithm","maze","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jsmolka.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":"2017-07-24T19:26:59.000Z","updated_at":"2024-08-29T17:30:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"518f3a7a-a631-499b-94d7-5866f953168d","html_url":"https://github.com/jsmolka/maze","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/jsmolka%2Fmaze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolka%2Fmaze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolka%2Fmaze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsmolka%2Fmaze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsmolka","download_url":"https://codeload.github.com/jsmolka/maze/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247229382,"owners_count":20905040,"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":["algorithm","maze","python"],"created_at":"2024-11-05T10:28:32.434Z","updated_at":"2025-04-04T18:31:27.771Z","avatar_url":"https://github.com/jsmolka.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# maze\nCreate and solve mazes in Python.\n\n## How to use\n```python\nfrom maze import *\n\nm = Maze()\nm.create(25, 25, Maze.Create.BACKTRACKING)\nm.save_maze()\nm.solve((0, 0), (24, 24), Maze.Solve.DEPTH)\nm.save_solution()\n```\nThe code above creates the following pictures:\n\n![maze.png](https://raw.githubusercontent.com/jsmolka/maze/master/example/maze.png) ![solution.png](https://raw.githubusercontent.com/jsmolka/maze/master/example/solution.png)\n\n## Algorithms\n### Creating\n- Recursive backtracking algorithm\n- Hunt and kill algorithm\n- Eller's algorithm\n- Sidewinder algorithm\n- Prim's algorithm\n- Kruskal's algorithm\n\n### Solving\n- Depth-first search\n- Breadth-first search\n\n### C\nThe recursive backtracking algorithm and depth-first search are also implemented in C. They are around 100x faster than their Python counterparts.\n\n## How to install\nSimply go into the ```setup.py``` directory and run ```pip install .``` to install the package.\n\n## Requirements\n- NumPy\n- Pillow\n- [pyprocessing](https://github.com/jsmolka/pyprocessing) if you want to run the visual examples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsmolka%2Fmaze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsmolka%2Fmaze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsmolka%2Fmaze/lists"}