Indexing - AkshathRaghav/cubot.io GitHub Wiki
Refer to the above image for indexing of each piece If you want to read more, go to Eli Bendersky's Website
The following represents the indexs for the color on each side of each piece
- cubearray[0][0][0][0] --> Color on top
- cubearray[0][0][0][1] --> Color on side
- cubearray[0][0][0][2] --> Color in front
( Additional 3x3 indexes )
- Only for Centers --> cubearray[0][0][0][1].substring(0,1) --> Gives you the color of the center piece
- cubearray[1][1][1] --> Joint Piece