{"id":20836525,"url":"https://github.com/corasaurus-hex/labyrinth","last_synced_at":"2025-05-08T02:39:02.187Z","repository":{"id":40276287,"uuid":"192432956","full_name":"corasaurus-hex/labyrinth","owner":"corasaurus-hex","description":"A maze generator in clojure","archived":false,"fork":false,"pushed_at":"2025-05-04T21:36:16.000Z","size":51,"stargazers_count":2,"open_issues_count":6,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-04T22:32:57.811Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/corasaurus-hex.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2019-06-17T23:44:20.000Z","updated_at":"2022-05-17T03:18:32.000Z","dependencies_parsed_at":"2023-09-28T01:19:43.492Z","dependency_job_id":"424d239b-feee-4616-b71d-42a9f09d58fb","html_url":"https://github.com/corasaurus-hex/labyrinth","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/corasaurus-hex%2Flabyrinth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corasaurus-hex%2Flabyrinth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corasaurus-hex%2Flabyrinth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corasaurus-hex%2Flabyrinth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corasaurus-hex","download_url":"https://codeload.github.com/corasaurus-hex/labyrinth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252988709,"owners_count":21836578,"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-18T00:30:23.414Z","updated_at":"2025-05-08T02:39:02.155Z","avatar_url":"https://github.com/corasaurus-hex.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Labyrinth [![CircleCI](https://circleci.com/gh/corasaurus-hex/labyrinth.svg?style=svg)](https://circleci.com/gh/corasaurus-hex/labyrinth)\n\nA Clojure library designed to generate mazes.\n\n## Usage\n\n``` clojure\n(require '[labyrinth.grid :as g]\n         '[labyrinth.grid.export.ir :as ir]\n         '[labyrinth.grid.binary-tree :as bt]\n         '[labyrinth.grid.export :as e])\n\n(-\u003e (g/-\u003emaze 10 10) ;; build an empty 10x10 cell maze\n    (bt/gen)         ;; generate the maze using the binary-tree algorithm\n    (ir/-\u003eir)        ;; generate an intermediate representation of the maze for exporting\n    (e/ir-\u003etxt)      ;; take the intermediate representation and convert it to txt\n    (println))\n\n;; ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓\n;; ┃                                                 ┃\n;; ┃    ┏━━━━╸    ╻    ╻    ┏━━━━╸    ╻    ┏━━━━╸    ┃\n;; ┃    ┃         ┃    ┃    ┃         ┃    ┃         ┃\n;; ┗━━━━┻━━━━╸    ┣━━━━┛    ┣━━━━╸    ┃    ┃    ╻    ┃\n;;                ┃         ┃         ┃    ┃    ┃    ┃\n;; ╻    ┏━━━━╸    ┣━━━━━━━━━┛    ┏━━━━┻━━━━┛    ┃    ┃\n;; ┃    ┃         ┃              ┃              ┃    ┃\n;; ┣━━━━┛    ┏━━━━┻━━━━╸    ╻    ┃    ╻    ┏━━━━┛    ┃\n;; ┃         ┃              ┃    ┃    ┃    ┃         ┃\n;; ┣━━━━━━━━━┛    ┏━━━━╸    ┣━━━━┛    ┣━━━━┻━━━━╸    ┃\n;; ┃              ┃         ┃         ┃              ┃\n;; ┣━━━━━━━━━━━━━━┻━━━━╸    ┣━━━━╸    ┃    ╻    ╻    ┃\n;; ┃                        ┃         ┃    ┃    ┃    ┃\n;; ┣━━━━╸    ╻    ┏━━━━━━━━━┻━━━━╸    ┣━━━━┻━━━━┛    ┃\n;; ┃         ┃    ┃                   ┃              ┃\n;; ┃    ┏━━━━┻━━━━┛    ┏━━━━╸    ╻    ┃    ┏━━━━╸    ┃\n;; ┃    ┃              ┃         ┃    ┃    ┃         ┃\n;; ┃    ┣━━━━╸    ┏━━━━┻━━━━╸    ┣━━━━┛    ┃    ╻    ┃\n;; ┃    ┃         ┃              ┃         ┃    ┃    ┃\n;; ┗━━━━┻━━━━╸    ┗━━━━━━━━━━━━━━┻━━━━━━━━━┻━━━━┻━━━━┛\n```\n\n## Development\n\n### Dependencies\n\n* [just](https://github.com/casey/just)\n* [clojure](https://clojure.org/)\n\n### Starting a REPL\n\n``` shell\njust repl\n```\n\n### Running Tests\n\n``` shell\njust test\n```\n\n### Building\n\n``` shell\njust ci\n```\n\n## License\n\nCopyright © 2019 Cora Sutton\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorasaurus-hex%2Flabyrinth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorasaurus-hex%2Flabyrinth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorasaurus-hex%2Flabyrinth/lists"}