{"id":17172155,"url":"https://github.com/apmem/mazegenerators","last_synced_at":"2025-03-24T20:13:43.132Z","repository":{"id":141411950,"uuid":"308959457","full_name":"ApmeM/MazeGenerators","owner":"ApmeM","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-02T07:55:30.000Z","size":284,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-30T00:28:34.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/ApmeM.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":"2020-10-31T19:44:08.000Z","updated_at":"2024-11-02T07:55:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"c45e203b-bb0f-494f-863e-1f8573c3f7e0","html_url":"https://github.com/ApmeM/MazeGenerators","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":"ApmeM-Archived/PluginTemplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApmeM%2FMazeGenerators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApmeM%2FMazeGenerators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApmeM%2FMazeGenerators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ApmeM%2FMazeGenerators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ApmeM","download_url":"https://codeload.github.com/ApmeM/MazeGenerators/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245344004,"owners_count":20599867,"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-10-14T23:36:16.191Z","updated_at":"2025-03-24T20:13:43.125Z","avatar_url":"https://github.com/ApmeM.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"MazeGenerators\n==========\n\nMazeGenerators is a set of helper classes to generate different types of mazes.\n\nExamples\n==========\n\nDynamic example can be found here: https://apmem.github.io/MazeGenerators/Godot.html\n\nHere are a few examples of mazes that can be generated:\n\nMaze that contains rooms.\n\n![](https://github.com/ApmeM/MazeGenerators/raw/main/Images/RoomMazeGenerator.png)\n\nRegular tree maze.\n\n![](https://github.com/ApmeM/MazeGenerators/raw/main/Images/TreeMazeGenerator.png)\n\nGame of life generator.\n\n![](https://github.com/ApmeM/MazeGenerators/raw/main/Images/GameOfLifeGnerator.png)\n\nUsage\n==========\n\nFill in GeneratorSettings data with required values.\n\n```\n    var maze = new Maze(10,10)\n        .TryAddRoom(true, 2, 5, 5)\n        .TryAddRoom(true, 2, 5, 5)\n        .TryAddRoom(true, 2, 5, 5)\n        .TryAddRoom(true, 2, 5, 5)\n        .GrowMaze()\n        .GenerateConnectors()\n        .RemoveDeadEnds()\n        .BuildWalls();\n```\n\nAlgorithms\n==========\n\nCustomDrawAlgorithm - Add custom shapes of any type (fillrect, rectngle, point)\n\nDeadEndRemoverAlgorithm - Remove dead ends - path tiles that have less then two paths connected\n\nFieldGeneratorAlgorithm - Create field and check input parameters for correctness.\n\nLifeGameAlgorithm - Generator based on \"game of life\" to create\n\nMirroringAlgorithm - Mirror existing maze Horizontally/Vertically/Both or rotate it around center\n\nRegionConnectorAlgorithm - Generate connectors between rooms and paths through empty tiles (EmptyTileId)\n\nRoomGeneratorAlgorithm - Generate unconnected rooms\n\nStringParserAlgorithm - Print and parse maze to/from string\n\nTreeMazeBuilderAlgorithm - Generate unconnected maze paths in free spaces\n\nWallSurroundingAlgorithm - Build walls around all passages, junctions and rooms\n\nCredits\n==========\n\n- [**Rooms and mazes**](https://journal.stuffwithstuff.com/2014/12/21/rooms-and-mazes/) - How to generate maze with rooms\n- [**Pixel dungeion**](https://github.com/watabou/pixel-dungeon) - Images in demo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapmem%2Fmazegenerators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapmem%2Fmazegenerators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapmem%2Fmazegenerators/lists"}