Skip to content

A search algorithm and graphical renderings for solutions to a classic 3D puzzle

License

Notifications You must be signed in to change notification settings

jarpoole/tetris-cube-solve

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puzzle

The puzzle consists of 12 pieces with must fit into a 4x4x4 volume. The manufacturer claims there are 9839 possible solutions.

Images of all the pieces are in the docs folder.

Installation

Install the required python dependencies

apt-get install python3-dev
pip3 install -r requirements.txt 

Build the C++ solver

cd src
make

Solution

Possible Improvements

  • Use the python's FFI to C/C++ to merge the two programs together
  • Support NxNxN puzzles with arbitrary pieces
  • Leverage NVIDIA CUDA to parallelize compute using a GPU

About

A search algorithm and graphical renderings for solutions to a classic 3D puzzle

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published