Skip to content

feat: cross hints and shorter trainer transitions with a rust solver - #648

Merged
bryanlundberg merged 35 commits into
mainfrom
feat/cube-solver-rs
Oct 10, 2026
Merged

bryanlundberg merged 35 commits into
mainfrom
feat/cube-solver-rs

Conversation

@bryanlundberg

Copy link
Copy Markdown
Owner

What does this PR do?
Replaces the npm cube-solver with cube-solver-rs, a Rust/WebAssembly solver that shares a new cube-core crate with the TNoodle scrambler.

Before (npm cube-solver) After
PLL/ZBLL transition ~20 moves ~13 to 14
OLL transition ~20 moves ~10
COLL transition ~20 moves ~11
F2L transition ~20 moves ~7
Table setup 1.3 s ~114 ms
Hints yellow only all six colors in ~3 ms
Transition time median 18 ms median 25 to 36 ms

cube-solver also returned non-optimal crosses and xcrosses in 40 of 600 and 174 of 2400 fixture cases; the new solver is never longer.

By submitting this PR, I confirm that:

  • I have reviewed my code and believe it is ready for merging.
  • I understand that this PR may be subject to review and changes.
  • I agree to abide by the code of conduct and contributing guidelines of this project.

Comment thread packages/cube-solver-rs/test/solver.test.ts Fixed
…caping or encoding'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@bryanlundberg
bryanlundberg merged commit 515414b into main Oct 10, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants