Coding Adventure: Solving the Rubik's Cube
My attempt at solving the 3x3 Rubik's cube (by programming the computer to do it for me).
Support my work (and get early access to new videos and source code) on Patreon: https://www.patreon.com/SebastianLague
Project files:
Currently in early access to patrons (see link above). Will be available to everyone ~26 April.
Resources and credits:
https://en.wikipedia.org/wiki/Optimal_solutions_for_the_Rubik%27s_Cube
https://raw.githubusercontent.com/SebLague/Misc-Project-Info/refs/heads/main/Coding-Adventures/RubiksCube.txt
Chapters:
00:00 Creating the Cube
02:00 Rotation Time!
04:39 Binary State
08:15 Making Moves
12:47 Search and Optimization
15:34 The Greedy Solver
17:53 The Sandwich Solver
20:21 The Oriented Solver
23:39 Final Thoughts




