CodingTrain / CodingTrain/Wave-Function-Collapse

Wrong tiles connecting each-other / Fix proposal

Open
#23 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
218
Forks
64
PR merge metrics
No merged PRs in 30d

Description

As they say, an image worth a thousand words.

![Circuit](https://i.imgur.com/7tR17hf.png)

We are having an issue were tile 5 connects to itself and so does 4 in a weird way. My solution idea is to have a tile have 2 properties, not only edge names, but also "connects to"

Hopefully the image explains the idea better that I could do by describing it.

(Notice that "ABB" in the connects to would really connect to what is "BBA" on the image, because of how the code works with the "reverse" logic, unless I missed something, but the basic idea is there even if I mistake some cases)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.