+ 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

26th Jan 2018, 10:47 AM
Demid Metelnikov
Demid Metelnikov - avatar
8 Answers
27th Jan 2018, 9:04 AM
🐙evil octopus
🐙evil octopus - avatar
+ 4
@Arun this is language of Rubik's cube moves
27th Jan 2018, 12:11 AM
Demid Metelnikov
Demid Metelnikov - avatar
+ 2
what is this language??
26th Jan 2018, 6:25 PM
Arun
26th Jan 2018, 11:03 PM
XavierF
XavierF - avatar
27th Jan 2018, 4:09 AM
Cailyn Baksh
+ 1
https://code.sololearn.com/WYLZWRifA9gE/?ref=app
27th Jan 2018, 7:15 AM
Tums
Tums - avatar
+ 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/
27th Jan 2018, 9:49 AM
Seilgrank
Seilgrank - avatar