{"id":13720961,"url":"https://github.com/pusewicz/wave-function-collapse-dragonruby","last_synced_at":"2025-07-27T20:06:48.188Z","repository":{"id":231054798,"uuid":"780783662","full_name":"pusewicz/wave-function-collapse-dragonruby","owner":"pusewicz","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-22T21:56:47.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-05-22T22:42:25.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pusewicz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-04-02T06:40:40.000Z","updated_at":"2024-05-28T12:30:18.807Z","dependencies_parsed_at":"2024-05-28T12:30:16.284Z","dependency_job_id":"1fb874dc-cf5d-4994-9325-02d5c78f5bd4","html_url":"https://github.com/pusewicz/wave-function-collapse-dragonruby","commit_stats":null,"previous_names":["pusewicz/wave-function-collapse-dragonruby"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pusewicz/wave-function-collapse-dragonruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pusewicz%2Fwave-function-collapse-dragonruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pusewicz%2Fwave-function-collapse-dragonruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pusewicz%2Fwave-function-collapse-dragonruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pusewicz%2Fwave-function-collapse-dragonruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pusewicz","download_url":"https://codeload.github.com/pusewicz/wave-function-collapse-dragonruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pusewicz%2Fwave-function-collapse-dragonruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267417664,"owners_count":24083839,"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-07-27T02:00:11.917Z","response_time":82,"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-08-03T01:01:10.457Z","updated_at":"2025-07-27T20:06:48.142Z","avatar_url":"https://github.com/pusewicz.png","language":"Ruby","funding_links":[],"categories":["Samples"],"sub_categories":[],"readme":"# Wave Function Collapse in DragonRuby\n\nThis repository is an example implementation of the [Wave Function Collapse](https://github.com/mxgmn/WaveFunctionCollapse) algorithm using [DragonRuby](https://dragonruby.org/toolkit/game).\n\nThe algorithm is used to generate the entire map using tiles based on the rules. Rules are defined using the [Tiled](https://www.mapeditor.org/) program and read by the Ruby program from the [TSJ](https://github.com/pusewicz/wave-function-collapse-dragonruby/blob/main/assets/map.tsj) file.\n\n![Wave Function Collapse in DragonRuby](mygame/assets/screenshot.png)\n\n## Live Demo\n\nBecause DragonRuby allows building an HTML game, you can test the implementation yourself at https://pusewicz.github.io/wave-function-collapse-dragonruby/. HTML version is slower compared to a native build.\n\n## Objective\n\nBuild the Wave Function Collapse algorithm in DragonRuby that's fast enough to iterate in a game on each frame.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/pusewicz/wave-function-collapse-dragonruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/pusewicz/wave-function-collapse-ruby/blob/main/CODE_OF_CONDUCT.md).\n\n## Others\n\n- [Wave Function Collapse in Ruby](https://github.com/pusewicz/wave-function-collapse-ruby)\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Credits\n\nTileset: https://opengameart.org/content/consolidated-hard-vacuum-terrain-tilesets\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpusewicz%2Fwave-function-collapse-dragonruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpusewicz%2Fwave-function-collapse-dragonruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpusewicz%2Fwave-function-collapse-dragonruby/lists"}