CodingTrain / CodingTrain/Wave-Function-Collapse

Do NOT make a new grid

Open
#28 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

When a new grid is created, it becomes impossible to check for ALL changes when selecting a random option. Changes are made on the NEW grid, but the checking is done on only the OLD grid. This may lead to some unexpected and or strange bugs.

It would be better to keep using the same grid. Makes things just a little bit faster too. (little bit)

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name files, tests, or an entry point. Locate where a new grid is created and where random-option changes are checked; trace whether checks still read the old grid. Done means the existing grid is reused and all changes are checked against it without introducing the reported unexpected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.