Skip to content

t4n0/snake-cube-solver

Repository files navigation

About

This repo contains a program to solve and plot the snake cube puzzle. The goal of the snake cube is to arrange the beams of bright and dark blocks into a single 3x3x3 cube.

The solver initially sets up a "flat snake":

flat.mp4

It then examines all possible rotations by brute force. As it turns out there are not one but two possible solutions:

solution1.mp4
solution2.mp4

Have a nice day.

Build

Plotting is done via matplot++. Note that matplot++ has certain system dependencies (e.g. gnuplot) that are required at runtime.

Disclaimer

This project was an excuse for me to implement and learn more about quaternions.

About

A program to solve and plot the snake cube puzzle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published