Affenpuzzle Solving Algorithm
by Elias Theis (@eliastheis)
The problem is described here.
The puzzle-solving-algorithm uses indirect recursion with two fields to try every useful combination for cards.
If you remove all Thread.sleep()
calls, the puzzle will be solved in less than a second.
Execute the main-method from /src/main/Affenpuzzle.java