Some templates notoriously fail to generate a valid board #1
Atvērta
MightyPork atvēra pirms 6 gadiem
·
0 komentāri
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Vēl nav satura.
Dzēst atzaru '%!s(<nil>)'
Atzara dzēšana ir neatgriezeniska, kā arī tā ir NEATGRIEZENISKA. Vai turpināt?
Example - thinwheel, heavywheel, cube - shapes with holes and thin lines.
This could be solved by adding a heuristic to prefer tiles closer to the center when filling the board, in addition to checking the number of filled neighbours.
The problem with the neighbours heuristic is that once the outer ring in one of the wheels is reached, it always has higher priority, so it's filled up and then one of the beams is left for the end, whereas it should be filled radially from the center.