Chess puzzle

Starting with white, play alternates between moving white and black pieces. Every move must capture a piece of the opposing colour. Pieces move just like in chess. To successfully solve the puzzle, capture every piece leaving behind only the white king.

The initial configuration is a random permutation of the 16 pieces of a normal chess set, with pawns excluded.

More thoughts and information in my blog post.

By James Stanley.

Source on github.