Imagine taking a Rubik's Cube and unwrapping its faces from the 3D cube and spreading it out on a table. However, you can still manipulate it in the same way. That's flatRubiks!
I found coding this to be more challenging than a 3D cube would have been. Plus there are already some fantastic MATLAB 3D Rubik's Cubes out there. I also found, that solving this guy really works your brain, and is in general harder.
The zip file includes one really long m-file, and a help HTML file. I would appreciate any comments, questions!
Trent Russi (2021). flatRubiks (https://www.mathworks.com/matlabcentral/fileexchange/8260-flatrubiks), MATLAB Central File Exchange. Retrieved .
Inspired by: Rubik Cube Game
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!