{"id":21146185,"url":"https://github.com/cxong/gomapgen","last_synced_at":"2025-07-09T07:32:23.695Z","repository":{"id":19188714,"uuid":"22421690","full_name":"cxong/gomapgen","owner":"cxong","description":"A 2d map generator written in Go","archived":false,"fork":false,"pushed_at":"2024-07-01T12:06:02.000Z","size":6463,"stargazers_count":41,"open_issues_count":6,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-02T18:44:11.857Z","etag":null,"topics":["ascii","go","map-generator","procedural-generation","tiled"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cxong.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":"2014-07-30T10:07:30.000Z","updated_at":"2024-07-01T12:06:05.000Z","dependencies_parsed_at":"2023-12-14T13:27:57.950Z","dependency_job_id":"0f870e80-29f4-4c4f-9398-dd54b59a269f","html_url":"https://github.com/cxong/gomapgen","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/cxong%2Fgomapgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxong%2Fgomapgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxong%2Fgomapgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cxong%2Fgomapgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cxong","download_url":"https://codeload.github.com/cxong/gomapgen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225492694,"owners_count":17482941,"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":["ascii","go","map-generator","procedural-generation","tiled"],"created_at":"2024-11-20T08:49:43.070Z","updated_at":"2024-11-20T08:49:43.644Z","avatar_url":"https://github.com/cxong.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"GoMapGen\n========\n\nA 2d map generator written in Go\n\n    $ go run main.go --algo=rogue\n\tUsing seed 1512389956399933000\n\t+--------------------------------+\n\t|  WWWWWWW   WWWW                |\n\t|  W.....W   W..W                |\n\t|  W.....+## W..W    WWWWWWW     |\n\t|  WWW+WWW ##+..+##  W.....W     |\n\t|     #      W..W ###+.....W     |\n\t|     #      W..W    WWW+WWW     |\n\t|     #      WW+W       #        |\n\t|     #        #        #        |\n\t|     #        #        #        |\n\t|     #        #        #        |\n\t|     #      WW+W      ##        |\n\t|     #      W..W      #         |\n\t|  WWW+WWW   W..W      #         |\n\t|  W.....W   W..W      #         |\n\t|  W.....W ##+.\u003c+###   #         |\n\t|  W.....+## W..W  #   #         |\n\t|  W.....W   W..W  #####         |\n\t|  WWW+WWW   W..W      #         |\n\t|    ##      WW+W      #         |\n\t|    #         #       #         |\n\t|WWWW+WWWW  ####       ###       |\n\t|W.......W  #            #       |\n\t|W.......W  #            #       |\n\t|W.......W  #            #       |\n\t|W.......+###            #       |\n\t|W.......W            WWW+WWW    |\n\t|W.......W            W.....W    |\n\t|WWWWWWWWW            W..\u003e..W    |\n\t|                     WWWWWWW    |\n\t|                                |\n\t|                                |\n\t|                                |\n\t+--------------------------------+\n\nThis map generator implements a number of different algorithms and can output to ASCII, CSV and TMX tile map.\n\nSee `main.go` for all the options.\n\n## --algo=rogue --width=30 --height=18\n\n![rogue](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/rogue.gif)\n\n## --algo=village\n\n![village](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/village.gif)\n![village build](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/village_build.gif)\n\n## --algo=shop --width=16 --height=13\n\n![shop](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/shop.gif)\n![shop build](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/shop_build.gif)\n\n## --algo=bspinterior --corridorWidth=2\n\n![bspinterior](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/bspinterior.gif)\n![bspinterior build](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/bspinterior_build.gif)\n\n## --algo=bsp --width=24 --height=20\n\n![bsp](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/bsp.png)\n\n## --algo=walk --width=16 --height=16 --iterations=500\n\n![walk](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/walk.gif)\n\n## --algo=interior --minroomsize=4 --maxroomsize=8 --width=24 --height=24\n\n![interior](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/interior.png)\n\n## --algo=cell --width=24 --height=20 --template=kenney\n\n![cell](https://raw.githubusercontent.com/cxong/gomapgen/master/examples/cell.gif)\n\n# Developer Getting Started\n\n1. [Install go](https://golang.org)\n2. `go get github.com/cxong/gomapgen`\n3. Go to the source location, run `go run main.go`\n4. This should create a folder named `tmx_export/`\n5. [Install Tiled](https://www.mapeditor.org)\n6. Open `tmx_export/map.tmx` in Tiled\n7. Look at the generated map!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxong%2Fgomapgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcxong%2Fgomapgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcxong%2Fgomapgen/lists"}