RUBIKS_OPTIMAL(1)

πŸ’– RUBIKS_OPTIMAL πŸ’–

okay so bestie, welcome to the rubiks_optimal manual page β€” that's section 1 of the User Commands manual, iykyk ✨


🌈 NAME 🌈

rubiks_optimal β€” optimal solver for 3x3x3 Rubik's cube πŸ§©πŸ‘‘


✨ SYNOPSIS ✨

rubiks_optimal

πŸŽ€ DESCRIPTION πŸŽ€

Solves a 3x3x3 Rubik's cube, entered at a prompt. literally it just... asks you, and you tell it, and it solves it. iconic behaviour fr fr πŸ’…


πŸ¦‹ CUBE FORMAT πŸ¦‹

A solved cube is represented as

UF UR UB UL DF DR DB DL FR FL BR BL UFR URB UBL ULF DRF DFL DLB DBR

where U,D,F,B,L,R stand for up, down, front, back, left, right 🧭 and the two-colored cubies are listed before the three-colored corner cubies. no cap, edges first, corners after β€” that's the whole vibe check πŸ”₯

To input a scrambled cube, first give the cubie that's in the UF location, then the cubie in the UR location, and so forth, according to this list above. like, you're reading the cube out loud position by position 🎀

For example, "cube in a cube" would be

UF UR RD RB LU LF DB DL FR UB DF BL UFR RFD RDB RBU LFU LUB DLB LDF
⚠️ This input should all be on one line. all of it. one line. do not hit enter halfway through bestie, the prompt is not ready for that 😭

and that's the whole page 🫢 this one's rubiks_optimal, from Jan 2015, sitting pretty in the RUBIKS_OPTIMAL(1) manual πŸ’– go solve a cube, you absolute main character πŸ‘‘βœ¨

πŸ“¦ where this page comes from