Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

A sliding blocks puzzle is a puzzle which involves sliding blocks into a desired end configuration.

A sliding blocks puzzle is a puzzle which involves sliding blocks into a desired end configuration. The blocks and area in which they are slid can be of any shape and size.

For example, the classic 15-puzzle is played on a 4x4 square with 15 tiles numbered 1 through 15. The goal is to slide the blocks in a such a way as to end with the numbers in sequential order, starting with 1 in the top left corner.

The classic Klotski puzzle involves sliding rectangular blocks of different sizes, usually with the intention of getting a designated block into a designated area on the board.

history | excerpt history