CodingTrain / CodingTrain/Wave-Function-Collapse

Wrong tiles connecting each-other / Fix proposal

Aberta
#23 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
218
Forks
64
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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)

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.