How to add lines to make it like rubix cube | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to add lines to make it like rubix cube

Help me to add lines to make it rubix cube plz https://code.sololearn.com/W192MOHlf9v3/?ref=app

10th Nov 2020, 1:46 PM
Tejas Chichkar
Tejas Chichkar - avatar
2 Answers
0
It’s the whole sides rotating. Create a div partition for each layer on each side. 3 layers per side. Every layer will consist of partition; simply I mean for the top phase 3 layer and 9 partitions. Combine all of them to transform throught left,right,front,etc clockwise and anticlockwise.
10th Nov 2020, 5:35 PM
Vishal Srivastava
Vishal Srivastava - avatar
0
Vishal Srivastava I didn't get what you said Do you mean that I've to make 3×3 div on each side ?
11th Nov 2020, 3:12 AM
Tejas Chichkar
Tejas Chichkar - avatar