/snake_cubes

A simple Python-based snake cube solver

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0

Snake cube solver

This is a short Jupyter notebook in Python 3 that solves 3x3x3 snake cube puzzles.

I wrote it because I was too impatient to solve a snake cube I had lying around, and yet wanted to store the thing in the most space efficient way - so it had to become a proper cube.

The program takes a simple encoding of a snake:

drawing drawing

And generates instructions how to turn it into a cube:

drawing drawing

Requirements:

  • numpy, any version will do

License

Distributed under the terms of the GNU GPLv3 License (see LICENSE).