+ 10
[ASSIGNMENT]️ Rubik's cube scramble generator
Can you make code, which generate scramble for Rubik's cube 3x3. Rules📑📃 : Scramble must be random; Scramble must generated with special language: [R, R', R2,L, L', L2,F, F', F2,B, B', B2,U, U', U2,D, D', D2]; Scramble must has minimum 10 moves; All languages with random number generator function are welcome; My solution: https://code.sololearn.com/W4uEea72A3DW/?ref=app
8 Answers
+ 5
+ 4
@Arun this is language of Rubik's cube moves
+ 2
what is this language??
+ 1
https://code.sololearn.com/WYLZWRifA9gE/?ref=app
+ 1
@Arun That's Rubik's Notation, a shorthand for lists of moves. A letter tells you what face to turn clockwise. A letter followed by an apostrophe means to turn that face counterclockwise. F is front face, R is right, etc.
More info can be found here: https://ruwix.com/the-rubiks-cube/notation/