Python Cubed
Overview
The purpose of this project is to create a computer program that will solve the Rubik’s Cube from any configuration in an efficient and logical fashion. I started by constructing an animated but fully functional Rubik’s Cube using a coordinate system to position the tiles composing the cube. Once my cube was fully functional and could rotate, I started figuring out a way to solve the cube via the layer-by-layer method, beginning with the white cross (the white/other colored edges making up the white side). First, I came up with many different sequences to move each edge into its designated place. I did have a few problems with incorrect sequences, especially when solving the middle layer because the sequences were the longest. After I solved the white layer and the middle layer, I then moved on to the yellow layer. This turned out to be one of the hardest parts because I couldn’t mess up the rest of the cube, and the stages were very different than what I had done previously. I have started work on creating an artificial intelligence algorithm, using genetic algorithms which I have some background on since I did my project last year on them. I would like to continue writing my program so that the algorithm could discern the most efficient sequence to solve the cube of any given scramble, and possibly even reach “God’s Number”, the ideal number of moves to solve the cube.
Competition history
- ISEF 2016
Resources
Related projects
CSEF · 2004
Software and Hardware Implementation of Rubik's Cube Solving Algorithms
CSEF · 2011
Cube It: Creating a 3D Rubik's Cube Simulator in C++ and OpenGL
CSEF · 2008
Writing a Rubik's Cube Solver using Mathematica
CSEF · 2005
Rubik's Cube Solving Robot, Year Two: Faster Algorithm, Graphical User Interface, and Vision
CSEF · 2015
Devising an Effective Way of Solving the Rubiks Cube
CSEF · 2014
Speedsolving a Rubik's Cube: Which Algorithms First?
CSEF · 2005
Variegation and Repeated Sequences on the Rubik's Cube
CSEF · 2002
Rotational Symmetry of Third Order Magic Cubes
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: Regeneron International Science and Engineering Fair