CodingTrain / CodingTrain/Wave-Function-Collapse
Wrong tiles connecting each-other / Fix proposal
- 主要言語
- JavaScript
- スター
- 218
- フォーク
- 64
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
As they say, an image worth a thousand words.

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)
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、既存のタイルエッジと逆方向ロジックの処理を追跡します。この issue には誤った接続を示す画像がありますが、ソースファイルやテストの名前は示されていません。提案された connects-to 関係が現在のエッジ名とどのように連携すべきかを判断し、そのうえでタイル 4 と 5 が自分自身に接続されなくなり、意図された関係に従うことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- computer-graphics
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100