Solve the puzzle automatically.
The program stops when the first solution is found.
git clone [email protected]:shundev/brain-block-solver.git
cd brain-block-solver
make run
The result is printed as follows:
Currently it shows only one solution, but it's easy to hack it to gen all the solutions.