For some reason, Youtube has been recommending me a ton of wave function collapse videos, so I decided to play a bit with it for map generation.
I think my code still has some bugs, but I'm happy enough for now. Maybe I'll pick it up in the future if I decide to use it for an actual game or demo.