Pycon Ireland puzzle cube solution
Python
Pull request Compare This branch is 4 commits ahead of victorhg:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
images
.gitignore
README
cube.py
matcher.py
matcher_test.py
move.py
pieces.py
possibility.py
puzzle_tool.py
rotate.py

README

Pycon Ireland 2010 try out on solving Bedlam's cube

http://en.wikipedia.org/wiki/Bedlam_cube

Target data representation for the search: a list of 13 lists of 64-bit
integers:

[
  0b000000110010 (...) 010, # 1st piece
  0b000001100010 (...) 010, # 2nd piece
  ...
                      # 13th piece
]

...or a list of 13 lists of 64 numbers, where each number is 0 or 1.

[
  [0, 1, 1, ..., 0, 0],
  [0, 0, 1, ..., 0, 0],
  ...
]

A solution can be represented as a list of 13 numbers, indexes of the
input lists.