Puzzlessing

Puzzles are great pastimes but also highly complicated mathematical problems without formal solution at times. It is my aim to provide a brief collection of interactive puzzles coded by me using Processing.

The 14-15 puzzle

The first puzzle is a historical one. The 14-15 puzzle arose in the 1870 by Sam Lloyd. The aim is to get the sliding blocks back in numerical order. It was rapidly demonstrated that this puzzle could not be solved. Prove it yourself or play with the interactive processing toy:

To view this content, you need to install Java from java.com

Source code: _14_15puzzle

The donkey puzzle

Yet another historical puzzle is the donkey puzzle which originates from Poland in the 1900, where it is known as Klotski. This time there is a solution but recently this kind of sliding blocks puzzles are being identified as almost NP problems (which means the hardest to solve) and trial and error looks like the only approach.

Drag the pieces with the mouse to get the white piece to the the bottom exit (at the center). This might take you more time than what you think!!!!

To view this content, you need to install Java from java.com

Source code: celadores

Hexatron

This is one puzzle of my invention. Reorganize the numeric order of the numbers by rotations inside the smaller hexagons (mouse click). Sorry this puzzle is not yet finished and some initial randomization has to be automated but you can do it yourself. Restoring the order initially looks an easy task but after a while might turn you mad.

To view this content, you need to install Java from java.com

Source code: hexatron

Rubik's Cube

Play with Rubik's cube

Thanks for reading so far. I hope you find this very prelimiar page interesting, if so, please send me a comment to: rtomas@cells.es. I am planning to add more puzzles like Sudoku. Any suggestion?

All the codes have been built by me using Processing

Rogelio Tomas home web page