Simon Tatham's Portable Puzzle Collection

From wiki.gp2x.org

Jump to: navigation, search
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 Beta 4
Webpage http://www.ledow.org.uk/gp2x/
Status working, testing


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

"Simon Tatham's Portable Puzzle Collection" is a port (by Ledow) of the games available at http://www.chiark.greenend.org.uk/~sgtatham/puzzles/. This is a collection of 27 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.

Originally written for Windows, GTK and MacOS, these were ported by Ledow to SDL and customised for use on the GP2X. All games except "mines" are playable, if not perfect conversions, and each game is self-contained so that players can pick and choose which ones to load on their GP2X.

The GP2X conversion, based on a recent SVN snapshot of the collection, is currently nearing completion and in the final stages of testing (as of 9th May 2008). Source code to the port is also released under the terms of the original MIT 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.
Mines
Find all the mines without treading on any of them. (An implementation of Minesweeper.) NOT WORKING IN CURRENT BETA VERSIONS
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.)
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 several 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 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

The games are released in a playable state in the latest Beta version. Only one game does not work at all (mines), the rest can be played from start to finish with only very minor display problems. 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

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
Buy GP2X and accessories