Use the arrow buttons to turn the sides.
My first real puzzle! Also, one of the few times I've used lists. Most of the code inside is disabled-- it was from experimentation for other stuff.. --There are two Easter eggs hidden in the code. One is a movie allusion and the other is a preview of a possible future game. Comment when you find them!