Wednesday 4 March 2009

Simon Tatham's Portable Puzzle Collection - Code for my third-party Mosco puzzle

This is the code for the third-party Mosco puzzle I implemented for Simon Tatham's Portable Puzzle Collection. It can be incorporated into any of the official codebases (e.g. Palm, GTK, Java, etc.) just by putting the two files into the source code directory and re-running mkfiles.pl before recompiling. I'm putting this here because there aren't many out-of-tree third-party puzzles out there for the collection (the only one I could find was Maze3D).

The code is here:

http://www.ledow.org.uk/gp2x/mosco/

And there are only two files, mosco.R and mosco.c. It has puzzle generation and a solver (admittedly naive) and should work on all platforms supported by the collection (tested on Linux, Cygwin, and my own SDL/GP2X port).