__Here, we're looking at the colours that aren't solved. There are 21 different cases for the top layer, but we only need a couple of algorithms to solve them all. The first thing we want to find is headlights. Only 2 of the cases don't have any headlights (one of them is if you skip this step, and the cube is already solved). For the one case without headlights, just perform the algorithm below from any angle. This is a better case because when you do the next step, the cube will be solved already. Rubix Builders__

**When it comes to building the Rubik’s Cube, it’s not as hard as it looks. In all actuality, it will take about fifteen minutes and the instructions are easy to follow. When it comes to placing the colored tiles, make sure you pay attention to where you’re supposed to place them, because if you snap them in the wrong place, you won’t be able to remove them. Yes, you will still be able to use the Rubik’s Cube, but you won’t be able to follow along with the instruction guide on solving the puzzle.**

This Rubik’s Build It, Solve It kit is for one player – it is recommended for ages 8 and up. As we said before, it is great for children and adults that don’t mind trying to figure out how the cube works – it’s great for those that enjoy putting puzzles together. This kit right here is going to give an inside look on how the cube works and how it’s put together. Plus, you’ll receive some tips in the instruction manual on how to solve it.

Okay, we’re going to be honest with you – you know how aggravating the traditional Rubik’s Cube is, correct? If you’ve ever tried to solve one, you probably know exactly what we’re talking about here. Yes, this kit offers a behind-the-scenes look and even comes with a 10-page instruction manual, but this doesn’t necessarily mean you will be solving the puzzle like a professional within seconds. Rubix Building Solutions

**The Rubik's cube appears to be made up of 26 smaller cubes. In its solved state, it has six faces, each made up of nine small square faces of the same color. While it appears that all of the small faces can be moved, only the corners and edges can actually move. The center cubes are each fixed and only rotate in place. When the cube is taken apart it can be seen that the center cubes are each connected by axles to an inner core. The corners and edges are not fixed to anything. This allows them to move around the center cubes. The cube maintains its shape because the corners and edges hold each other in place and are retained by the center cubes. Each piece has an internal tab that is retained by the center cubes and trapped by the surrounding pieces. These tabs are shaped to fit along a curved track that is created by the backs of the other pieces. The central cubes are fixed with a spring and rivet and retain all the surrounding pieces. The spring exerts just the right pressure to hold all the pieces in place while giving enough flexibility for a smooth and forgiving function. Rubix Building Solutions**

**Since the center pieces cannot be moved relatively to each other it's important to solve the edge pieces correctly in relation to each other. For example, when solving the white in our case- the green center piece is to the left of the red center piece, therefore the green-white edge piece should to be solved to the left of the red-white edge piece (see image).**

**An important thing to note is that this task is not a light one. It may require several hours of attempts. If you'd rather just solve the cube in your hand and forget about it rather than being able to solve any cube you're given, there are plenty of solvers available on the web. However, the satisfaction of holding a completed Rubik's Cube in your hand and thinking “I did that, and I can do it again” is greater than most, mainly due to the fact that the puzzle has been present in all our lives at some point. By the mid 1980's, an estimated fifth of the world's population had attempted to solve the cube. If you want to stand out and say that you can defeat the puzzle, time and determination is a large factor.**

The project uses the Pi to directly solve the Rubik’s cube. The BrickPi3 takes the unsolved Rubik’s cube and the Raspberry Pi takes a picture of each side of the Rubik’s cube with the Raspberry Pi Camera. The Pi creates a text map of the color squares that shows where they are located on the cube. When it has fully mapped the cube, the Pi uses the “kociemba” python library to map out the moves needed to solve the Rubik’s cube. This information is taken by the Pi and BrickPi3 to solve the Rubik’s cube using the LEGO motors. The result: a solved Rubik’s cube. Rubix Building Solutions

**The Rubik’s Build It, Solve It kit is for one player. Although ages 8 and up are recommended, I believe younger children will enjoy playing with the assembled toy. As we said before, it is great for children and adults that don’t mind trying to figure out how the cube works – it’s great for those that enjoy putting puzzles together. The kit gives an inside look on how the cube works and how it is put together. Plus, you will receive some tips in the instruction manual on how to solve it.**

*product description Blow your mom's mind when you build and solve the Rubik's Build It Solve It Puzzle. With all of the parts necessary for construction along with easy to follow instructions, you can learn how to solve it from the inside out. Put it together, twist it up and use your new found knowledge to make short work of one of life's most beloved puzzles - Rubik's®.*

The robot will turn the cube to each face and the camera will take 6 pictures, one of each side of the Cube. The Raspberry Pi will determine the cube configuration from the six pictures. The Cube configuration will be passed to the kociemba Python library to find an efficient solution. Finally, the robot will execute the moves to solve the Rubik’s Cube!

^{If there are no more edges left on the top layer, then they are probably either inserted in the right place but flipped, or inserted in the wrong place. To get an edge out of somewhere it shouldn't be, just insert one of the yellow edges into that slot. This should get the edge out and on the top layer, ready for you to use the above instructions to insert correctly. Rubix Build }