cubing / twsearch

🔍 Twizzle Search — a program to find algs and scrambles for twisty puzzles
GNU General Public License v3.0
24 stars 8 forks source link

Consistency between scramble file and tws file when using ? orientation is not checked #16

Closed rokicki closed 11 months ago

rokicki commented 11 months ago

To duplicate: run this scramble file against samples/main/3x3x3.tws:

Scramble TestQ EDGE 1 2 3 4 5 6 7 8 9 10 11 12 0 0 0 0 0 0 0 0 0 0 0 0 CORNER 1 2 3 4 5 6 7 8 0 0 0 ? 0 0 0 0 End

Note that piece 4 of CORNER has a ? in the scramble file, but not in the .tws file. This should be rejected by twsearch but it is not. Instead it searches forever for a solution that will never be found.

rokicki commented 11 months ago

This is resolved with merge 5262aee 518b664.