Simon Tatham's Portable Puzzle Collection

Simon Tatham's Portable Puzzle Colleciton
Screenshot of STPPC2x games
Original Developer Simon Tatham and others
Ported By Ledow
Version v 1.0
Status working, testing

 Controls (Ingame)
Button Action
Button joystick.gif Move cursor
Button a.gif Left mouse button
Button y.gif Middle mouse button
Button b.gif Right mouse button
Button l.gif Decrease number for entry
Button r.gif Increase number for entry
Button x.gif Enter current number
Button start.gif Menu/New game
Button select.gif Restart current game
 Controls (Combinations)
Button Action
Button voldown.gif Solve
Button volup.gif Solve
Button l.gif Quit
Button r.gif Quit

"Simon Tatham's Portable Puzzle Collection" is a port (by Ledow) of the games collection available at This is a collection of 31 small puzzle games, ranging from a Minesweeper-clone, a Peg Solitaire-clone and a Sudoku-clone to more unique games such as Net, Map and Tents. Many of them are based on Flash puzzles seen on the Internet. Some of the games are so-called "unfinished" games or ones from third-parties or myself but all have been tested and work how they should.

Originally written for Windows, GTK and MacOS, this collection was ported by Ledow to SDL and customised for use on the GP2X. Source code to the port is also released under the terms of the GPL license.


The Games

Black Box
Find the hidden balls in the box by bouncing laser beams off them.
Connect all the islands with a network of bridges. (This game is also known as Hashiwokakero.)
Pick up all the blue squares by rolling the cube over them.
Tile the rectangle with a full set of dominoes.
Slide the tiles around to arrange them into order.
Mark every square with the area of its containing region.
Flip groups of squares to light them all up at once.
Divide the grid into rotationally symmetric regions each centred on a dot.
Guess the hidden combination of colours. (A variant of Mastermind.)
Collect all the gems without running into any of the mines.
Light Up
Place bulbs to light up all the squares.
Draw a single closed loop in accordance with the clues. (This game is also known as Slitherlink.)
Colour the map so that adjacent regions are never the same colour.
Maze 3D
Navigate the 3D Maze to find the yellow sphere.
Find all the mines without treading on any of them. (An implementation of Minesweeper.)
Arranged a set of arrowed tiles in a box so that all the outside edges numbers have that number of arrows pointing at them (based on a puzzle found in an Ivan Moscovich puzzle book).
Rotate each tile to reassemble the network.
Slide a row at a time to reassemble the network.
Fill in the pattern in the grid, given only the lengths of runs of black squares. (This game is also known as Nonogram.)
Jump pegs over each other to remove all but one.
Divide the grid into rectangles with areas equal to the numbers. (This game is also known as Shikaku.)
Clear the grid by removing touching groups of the same colour squares.
Slide a row at a time to arrange the tiles into order.
Draw a maze of slanting lines that matches the clues. (This game is also known as Gokigen Naname.)
Slide the blocks to get the biggest one to the "hole".
Push the blocks onto the platforms.
Fill in the grid so that each row, column and square block contains one of every digit. (This game is commonly known as Sudoku.)
Place a tent next to each tree.
Rotate the tiles around themselves to arrange them into order.
Complete the Latin square in accordance with the > signs. (This game is also known as Futoshiki.)
Reposition the points so that the lines do not cross. (This game is an implementation of Planarity.)


The puzzle collection was designed to be portable and, as such, is already available for a variety of platforms included Windows, Linux, MacOS, Palm, Nintendo DS, etc. The GP2X port was developed by converting the code to use an SDL interface (and therefore also allowing further ports to even more platforms easily - there are rumours of PSP ports based off this work). The puzzle collection comes with extensive developer documentation on how to implement new "frontends" for various platforms as well as how to develop new puzzles without having to worry about which platform it is going to run on.

For STPPC2x, there are five thousand lines of code just associated with the porting, which were written using the "pico" text editor in plain C. The code makes use of various libraries including the Open2x GCC toolchain and libraries, Paeryn's hardware accelerated SDL library, SDL_gfx and some DejaVu fonts. There is a development blog for the port at:

An animation showing the features and games available in version 1.0.

An early work-in-progress screenshot with side-by-side comparison of the SDL and GTK versions.

Original forum post where the idea of porting it was first brought up on 6th January 2008. Nobody else was interested, so Ledow took it upon himself to port the collection.

Released Games

All of the released versions are listed below. Each download is mirrored at the porter's website at

Beta versions of the complete collection

Version 1.0 - Released 7th October 2008

Beta 5 - Released 30th June 2008

Beta 4 - Released 6th May 2008

Beta 3 - Released 19th April 2008

Beta 2 - Released 9th April 2008

Beta 1 - Released 2nd April 2008

Earlier test versions

Net - Released 30th March 2008

Untangle - Released 29th March 2008

External links

Personal tools