CodingTrain / CodingTrain/Wave-Function-Collapse

Wrong tiles connecting each-other / Fix proposal

Offen
#23 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
218
Forks
64
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.