{"id":16337651,"url":"https://github.com/vinatorul/level_generator_proto","last_synced_at":"2025-10-07T22:19:49.919Z","repository":{"id":78873659,"uuid":"52228557","full_name":"Vinatorul/level_generator_proto","owner":"Vinatorul","description":null,"archived":false,"fork":false,"pushed_at":"2016-03-05T12:55:43.000Z","size":19,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-07T06:23:11.839Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/Vinatorul.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":"2016-02-21T21:18:27.000Z","updated_at":"2016-08-23T15:41:40.000Z","dependencies_parsed_at":"2023-03-24T05:04:27.769Z","dependency_job_id":null,"html_url":"https://github.com/Vinatorul/level_generator_proto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vinatorul/level_generator_proto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinatorul%2Flevel_generator_proto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinatorul%2Flevel_generator_proto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinatorul%2Flevel_generator_proto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinatorul%2Flevel_generator_proto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vinatorul","download_url":"https://codeload.github.com/Vinatorul/level_generator_proto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vinatorul%2Flevel_generator_proto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278855779,"owners_count":26057739,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-10T23:47:38.491Z","updated_at":"2025-10-07T22:19:49.888Z","avatar_url":"https://github.com/Vinatorul.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Level generation algorithm\n[![license](http://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Vinatorul/level_generator_proto/blob/master/LICENSE)\n\n## Algorithm moved to [Dungeon Generator](https://github.com/Vinatorul/dungeon-generator-rs)\n\n### About\n\nThis project is for presentation and debugging dungeon generation algorithm.\nIt works in three steps\n\n 1. Workspace splitting to random rectangles with the help of binary tree\n 2. In every rectangle generating a random room\n 3. Coridors generating with the help of the binary tree, generated at the first step\n\nFor now you can customize generation with this constants (may be someday it will become crate with user-friendly\nconfiguration, but not today):\n * `DN_MAX_DEEP` - levels of binary tree\n * `DN_ALLOW_FULL_FROM` - level of tree from which node can deny split\n * `DN_SPLIT_CHANCE_DEC` - split chance decreasment per tree level starting from DN_ALLOW_FULL_FROM\n * `DN_SPLIT_COEFF` - max splitting coefficient\n * `DN_DEFAULT_CHANCE` - default splitting chance\n * `DN_MIN_SP_SIZE` - minimum splittable size of subdungeon\n * `DN_CORIDOR_WIDTH` - constant width of corridors\n\n## How it looks like\n![debug draw](debug_draw_sc.png)\n\n## Licence\nThis project is licensed under the MIT license. Please read the [LICENSE](https://github.com/Vinatorul/level_generator_proto/blob/master/LICENSE)\nfile in this repository for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinatorul%2Flevel_generator_proto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvinatorul%2Flevel_generator_proto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvinatorul%2Flevel_generator_proto/lists"}