torjusti / cube-solver

A collection of Rubiks cube solvers implemented in JavaScript
MIT License
22 stars 4 forks source link

Bug: b' d' l' not supported in default solver #52

Closed prendradjaja closed 3 years ago

prendradjaja commented 4 years ago

Hello! This project's super useful to me, thanks for it!

How to reproduce:

Looks like this is an intended use case, since cubeSolver.solve("f' ") works.

In case it's helpful: I took a short look and saw that somewhere along the way in evaluating .solve("b' "), we try to evaluate invertAlgorithm("z'' "), which gets rejected as invalid for having ' twice, but I wasn't able to track this down any further.

torjusti commented 3 years ago

Thanks and apoligies for the huge delay! I've fixed this and will be deploying it to NPM soon.