Christopher W. Fletcher

Klotski Puzzle Solver

Project year: First half, 2007
Partners: Nikita Mikhaylin
Updated: August 1, 2009

Just for fun: The Klotski Puzzle Solver (KPS) is a Java-based program that solves (step by step) klotski block puzzles (given an initial tray configuration and an end configuration). To run the KPS, you will need:

  1. KPS source, sample puzzle files, and KPS .jar

Once you have the above, type: java -jar KlotskiPuzzleSolver.jar -ooptions to see some options. Then, type: java -jar KlotskiPuzzleSolver.jar -o:your-options-here initial.tray goal.tray to run the program.