This is a rather basic implementation of the wave function collapse algorithm. The code is rather messy, and it's perhaps not the best way of implementing it in Scratch, so if you have any suggestions for improvements then please feel free to comment! Tile reference: 1: Grass 2: Sand 3: Water 4: Stone 5: Snow Adjacency rules: Grass can be adjacent to grass, sand, or stone Sand can be adjacent to sand, grass, or water Water can be adjacent to water or sand Stone can be adjacent to stone, grass, or snow Snow can be adjacent to snow or stone Changelog: May 2 2023: Sped up quite a bit by changing one block May 1 2023: Release, Added realtime visualization I think #technical should be a tag on the explore page