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 (2023). flatRubiks (https://www.mathworks.com/matlabcentral/fileexchange/8260-flatrubiks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Rubik Cube Game
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!