This is still a work in progress, but essentially what I'm aiming to do is 2 things:
- Expand the functionality of the scrambler to be displayed graphically (for now, through the terminal).
- Solve the cube in its scrambled state.
This is a project that I'm using as a way to practice C++. It's still a work in progress so a lot of stuff is going to be rewritten. Mostly however, I wanted to do something with rubiks cubes because they're fun :)
In many online scrambles, you will see the following:
*Image from csTimer
My program displays this in the terminal using characters to correspond to colors
Color | Letter |
---|---|
Blue | B |
Green | G |
Red | R |
Orange | O |
Yellow | Y |
White | W |
*Note that this is based off of the more common color schemes general seen on cubes. Somnetimes cubes can have different color schemes
The equivalent produced through the terminal
YWW
RWR
BBB
BGR YWO WYG ROO
GOY OGO BRY GBW
OBY GYB RRO GOG
RBW
RYW
WGY
Where each block corresponds to a face.