tnoodle-lib icon indicating copy to clipboard operation
tnoodle-lib copied to clipboard

Rename *MIN_SCRAMBLE_LENGTH variables and check that they actually work

Open jfly opened this issue 11 years ago • 4 comments

See https://github.com/cubing/tnoodle/issues/156#issuecomment-31508133 for renaming the variables, and https://github.com/cubing/tnoodle/issues/156#issuecomment-31574059 for checking that pyraminx and 222 are always solvable in exactly God's number turns.

@ChenShuang, do you think you can take this issue on when you've got some free time? There's no immediate rush here, but it's definitely something that should be done eventually.

jfly avatar Jan 08 '14 09:01 jfly

OK. I'll check the assumption in about 2 weeks. BTW, the solution of pyraminx does not include tips, which means that the length might larger than "MIN_SCRAMBLE_LENGTH" or "EXACT_SCRAMBLE_LENGTH".

cs0x7f avatar Jan 08 '14 09:01 cs0x7f

Wait, then how do we filter Pyraminx?

»Lucas Garron

On Wed, Jan 8, 2014 at 1:24 AM, Chen Shuang [email protected]:

OK. I'll check the assumption in about 2 weeks. BTW, the solution of pyraminx does not include tips, which means that the length might larger than "MIN_SCRAMBLE_LENGTH" or "EXACT_SCRAMBLE_LENGTH".

— Reply to this email directly or view it on GitHubhttps://github.com/cubing/tnoodle/issues/158#issuecomment-31816055 .

lgarron avatar Jan 08 '14 09:01 lgarron

The length includes tips. The filtering is correct.

cs0x7f avatar Jan 08 '14 09:01 cs0x7f

I believe Chen Shuang is referring to the SCRAMBLE_LENGTH_INCLUDES_TIPS boolean in PyraminxPuzzle.java. I vaguely remember us having to deal with this.

jfly avatar Jan 08 '14 10:01 jfly