{"id":16125512,"url":"https://github.com/semibran/dungeon","last_synced_at":"2025-07-09T22:39:43.237Z","repository":{"id":57217125,"uuid":"91009019","full_name":"semibran/dungeon","owner":"semibran","description":"Seedable roguelike dungeon generator","archived":false,"fork":false,"pushed_at":"2017-05-12T02:17:26.000Z","size":4,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T18:40:34.581Z","etag":null,"topics":["dungeon","generator","roguelike"],"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/semibran.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-05-11T18:01:41.000Z","updated_at":"2023-02-18T19:40:17.000Z","dependencies_parsed_at":"2022-08-28T21:01:40.433Z","dependency_job_id":null,"html_url":"https://github.com/semibran/dungeon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/semibran/dungeon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Fdungeon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Fdungeon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Fdungeon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Fdungeon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/semibran","download_url":"https://codeload.github.com/semibran/dungeon/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/semibran%2Fdungeon/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259448651,"owners_count":22859295,"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":["dungeon","generator","roguelike"],"created_at":"2024-10-09T21:29:52.008Z","updated_at":"2025-07-09T22:39:43.195Z","avatar_url":"https://github.com/semibran.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dungeon\n\u003e Seedable roguelike dungeon generator\n\n## install\n```sh\nnpm install dungeon\n```\n\n## usage\n```js\nconst Dungeon = require('dungeon')\n```\n\nA `Dungeon` is a plain object with the fields `width`, `height`, `rooms`, `mazes`, and `doors`.\n\nSee [`test.js`](https://github.com/semibran/dungeon/blob/master/test.js) for a running example.\n\n### `Dungeon`\nGenerate a `Dungeon` of the specified `width` and `height` with the given [`seed`](https://github.com/semibran/random#seed).\n```js\nvar dungeon = Dungeon(25, 25)(Seed(Math.PI))\n```\nThis function is curried, so you could assign it to a variable and generate multiple dungeons of that specific size later on.\n```js\nvar generate = Dungeon(25, 25)\n```\n\n## license\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemibran%2Fdungeon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsemibran%2Fdungeon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsemibran%2Fdungeon/lists"}