Simon Tatham's Portable Puzzle Collection

From wiki.gp2x.org
Simon Tatham's Portable Puzzle Colleciton
Screenshot of STPPC2x games
Download http://www.ledow.org.uk/gp2x/
Original Developer Simon Tatham and others
Ported By Ledow
Version v 1.0
Webpage http://www.ledow.org.uk/gp2x/
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 http://www.chiark.greenend.org.uk/~sgtatham/puzzles/. 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.

Contents

The Games

Black Box
Find the hidden balls in the box by bouncing laser beams off them.
Bridges
Connect all the islands with a network of bridges. (This game is also known as Hashiwokakero.)
Cube
Pick up all the blue squares by rolling the cube over them.
Dominosa
Tile the rectangle with a full set of dominoes.
Fifteen
Slide the tiles around to arrange them into order.
Filling
Mark every square with the area of its containing region.
Flip
Flip groups of squares to light them all up at once.
Galaxies
Divide the grid into rotationally symmetric regions each centred on a dot.
Guess
Guess the hidden combination of colours. (A variant of Mastermind.)
Inertia
Collect all the gems without running into any of the mines.
Light Up
Place bulbs to light up all the squares.
Loopy
Draw a single closed loop in accordance with the clues. (This game is also known as Slitherlink.)
Map
Colour the map so that adjacent regions are never the same colour.
Maze 3D
Navigate the 3D Maze to find the yellow sphere.
Mines
Find all the mines without treading on any of them. (An implementation of Minesweeper.)
Mosco
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).
Net
Rotate each tile to reassemble the network.
Netslide
Slide a row at a time to reassemble the network.
Pattern
Fill in the pattern in the grid, given only the lengths of runs of black squares. (This game is also known as Nonogram.)
Pegs
Jump pegs over each other to remove all but one.
Rectangles
Divide the grid into rectangles with areas equal to the numbers. (This game is also known as Shikaku.)
SameGame
Clear the grid by removing touching groups of the same colour squares.
Sixteen
Slide a row at a time to arrange the tiles into order.
Slant
Draw a maze of slanting lines that matches the clues. (This game is also known as Gokigen Naname.)
Slide
Slide the blocks to get the biggest one to the "hole".
Sokoban
Push the blocks onto the platforms.
Solo
Fill in the grid so that each row, column and square block contains one of every digit. (This game is commonly known as Sudoku.)
Tents
Place a tent next to each tree.
Twiddle
Rotate the tiles around themselves to arrange them into order.
Unequal
Complete the Latin square in accordance with the > signs. (This game is also known as Futoshiki.)
Untangle
Reposition the points so that the lines do not cross. (This game is an implementation of Planarity.)

Development

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: http://stppc2x.blogspot.com/

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 http://www.ledow.org.uk/gp2x/.

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