EnglishFrenchSpanish

OnWorks favicon

rubiks_optimal - Online in the Cloud

Run rubiks_optimal in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rubiks_optimal that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rubiks_optimal - optimal solver for 3x3x3 Rubik's cube

SYNOPSIS


rubiks_optimal

DESCRIPTION


Solves a 3x3x3 Rubik's cube, entered at a prompt.

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.

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. 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.

Use rubiks_optimal online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad