CodingTrain / CodingTrain/Wave-Function-Collapse

Wrong tiles connecting each-other / Fix proposal

Aperta
#23 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
218
Fork
64
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.