RUBIKS_CUBEX(1)

πŸ’– RUBIKS_CUBEX πŸ’–

okay bestie, so this is the manual for rubiks_cubex β€” that's the RUBIKS_CUBEX(1) page if you're keeping score at home. it lives in User Commands, and it's literally the moment your cube gets solved for you. no cap. πŸŽ€


✨ NAME ✨

rubiks_cubex β€” a fast non-optimal solver for the 3x3x3 Rubik's cube 🧊✨


🌸 SYNOPSIS 🌸

rubiks_cubex

rubiks_cubex <cube-layout>[<center-rotations>]

rubiks_cubex random[-centers]

πŸ¦‹ DESCRIPTION πŸ¦‹

it solves a 3x3x3 Rubik's cube. that's it, that's the whole vibe. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • (none) β€” if you pass literally nothing, it prints the help screen, complete with examples. main character move tbh.
  • random β€” it randomly scrambles a cube, then generates a solution for you. chaos first, order second. πŸ”₯
  • random-centers β€” same deal, it randomly scrambles a cube and generates a solution, but it will also fix center rotations. so it's the deluxe version fr fr.
  • <cube-layout> β€” bestie listen, this is a 54-character string, and every single character represents one facelet on the cube 🫢. it goes face by face in this order: top, left, front, right, back, bottom, and each character is a number (1 through 6), written in the order left to right, top to bottom β€” as in, the way you're looking at each face. iykyk.
  • <center-rotations> β€” an OPTIONAL 6-character addition tacked onto the string πŸŽ€. it represents the rotation of each center, with a number (0 through 3), in this order: top, left, front, right, back, bottom. and the rotations go like this:
    • 0 β€” center is rotated correctly πŸ’–
    • 1 β€” center is rotated 90 degrees clockwise
    • 2 β€” center is rotated 180 degrees
    • 3 β€” center is rotated 90 degrees counterclockwise

not me memorizing this. okay maybe me. πŸ™ˆ


🌈 EXAMPLES 🌈

rubiks_cubex 212212212333333333626626626555555555141141141464464464

cubex random

heads up bestie: that second example is written exactly as cubex random in the original. do not come for me, i just report the facts. ⭐

and that's the whole page, queen. this was rubiks_cubex version 1.30.505, dated Jan 2015 πŸ’œ β€” thanks for reading, go solve something iconic, periodt. πŸ§šβœ¨πŸ‘‘

πŸ“¦ where this page comes from