Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added slice moves, double moves and cube rotations. Added package rubiks-alg. #2

Open
wants to merge 17 commits into
base: master
Choose a base branch
from

Conversation

Hultan
Copy link

@Hultan Hultan commented Apr 3, 2022

Added the following functions to package rubik:

  • Slice moves (M, Mc, E, Ec, S, Sc).
  • Double moves (Ud, Udc, Dd, Ddc, Rd, Rdc, Ld, Ldc, Fd, Fdc, Bd, Bdc).
  • Cube rotations (X, Xc, Y, Yc, Z, Zc).

Added the package rubik-alg:

  • ExecuteAlg function, execute an alg (string) and returns a new cube.
  • ReverseAlg function, reverses the provided alg, ex "x F U' L" becomes "L' U F' x'".
  • GetScrambledCube function, returns a scrambled cube and the scramble alg.

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.

1 participant