How can I do something that solves the rubiks cube? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How can I do something that solves the rubiks cube?

I dont know how to code

13th Apr 2022, 8:51 PM
Joao Sganzerla
2 Answers
0
Start with bottom layer then the middle layer, then solve the top layer. Yes I'm being silly here. There is some code out there that shows any combination of the rubics cube and how many moves out will take to solve it. I think they got it down to no more than 21 but don't quote me on that.
13th Apr 2022, 10:28 PM
William Owens
William Owens - avatar
0
For a beginner this would be tough as you have to work with multiple two dimensional arrays. As you shifted your array it would affect three of them each time depending on the "rotation" of the cube. Where do you want to start with this project? What language do you want to use? It's completely possible, but will take some time. My suggestions is to start a branch of your code on github and invite us to assist you, that way we can branch off your code.
13th Apr 2022, 11:30 PM
William Owens
William Owens - avatar