Simon Tatham's Portable Puzzle Collection
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PSTCollectionView
Puzzles.xcodeproj
en.lproj
html
icons
unfinished
.gitignore
AppDelegate.h
AppDelegate.m
Buildscr
CHECKLST.txt
Default-568h@2x.png
Default-Landscape.png
Default-Landscape@2x.png
Default-Portrait.png
Default-Portrait@2x.png
Default.png
Default@2x.png
GameHelpController.h
GameHelpController.m
GameListViewController.h
GameListViewController.m
GameSettingsChoiceController.h
GameSettingsChoiceController.m
GameSettingsController.h
GameSettingsController.m
GameTypeController.h
GameTypeController.m
GameView.h
GameView.m
GameViewController.h
GameViewController.m
Icon-120.png
Icon-72.png
Icon-72@2x.png
Icon-76.png
Icon-76@2x.png
Icon.png
Icon@2x.png
LICENCE
Makefile.doc
PuzzleApplet.java
Puzzles-Info.plist
Puzzles-Prefix.pch
README
Recipe
benchmark.pl
blackbox.R
blackbox.c
blackbox.html
bridges.R
bridges.c
bridges.html
chm.but
chm.css
combi.c
common.html
configure.ac
cube.R
cube.c
cube.html
descriptions.h
desktop.pl
devel.but
divvy.c
docindex.html
dominosa.R
dominosa.c
dominosa.html
drawing.c
dsf.c
emcc.c
emcclib.js
emccpre.js
emccx.json
fifteen.R
fifteen.c
fifteen.html
filling.R
filling.c
filling.html
flip.R
flip.c
flip.html
flood.R
flood.c
flood.html
galaxies.R
galaxies.c
galaxies.html
get_game_descriptions.py
grid.c
grid.h
gtk.c
guess.R
guess.c
guess.html
help-back.png
help-back@2x.png
help-forward.png
help-forward@2x.png
help.html
help_add_style
iTunesArtwork.png
index.html
inertia.R
inertia.c
inertia.html
inprogress.png
inprogress@2x.png
intro.html
ios.m
ios7Default-568h@2x.png
ios7Default-Landscape.png
ios7Default-Landscape@2x.png
ios7Default-Portrait.png
ios7Default-Portrait@2x.png
ios7Default@2x.png
keen.R
keen.c
keen.html
latin.c
latin.h
laydomino.c
licence.html
lightup.R
lightup.c
lightup.html
list.c
loopgen.c
loopgen.h
loopy.R
loopy.c
loopy.html
magnets.R
magnets.c
magnets.html
makedist.sh
malloc.c
map.R
map.c
map.html
maxflow.c
maxflow.h
midend.c
mines.R
mines.c
mines.html
misc.c
mkauto.sh
mkfiles.pl
nestedvm.c
net.R
net.c
net.html
netslide.R
netslide.c
netslide.html
no-icon.c
noicon.rc
nullfe.c
nullgame.R
nullgame.c
obfusc.c
osx-help.but
osx-info.plist
osx.icns
osx.m
padtoolbar.bmp
pattern.R
pattern.c
pattern.html
pearl.R
pearl.c
pearl.html
pegs.R
pegs.c
pegs.html
penrose.c
penrose.h
printing.c
ps.c
puzzles.but
puzzles.h
puzzles.rc2
random.c
range.R
range.c
range.html
rect.R
rect.c
rectangles.html
resource.h
samegame.R
samegame.c
samegame.html
screenshot-ipad-1.png
screenshot-ipad-2.png
screenshot-ipad-3.png
screenshot-ipad-4.png
screenshot-iphone-1.png
screenshot-iphone-2.png
screenshot-iphone-3.png
screenshot-iphone-4.png
screenshot-iphone4-1.png
screenshot-iphone4-2.png
screenshot-iphone4-3.png
screenshot-iphone4-4.png
screenshots.txt
signpost.R
signpost.c
signpost.html
singles.R
singles.c
singles.html
sixteen.R
sixteen.c
sixteen.html
slant.R
slant.c
slant.html
solo.R
solo.c
solo.html
style.css
tdq.c
tents.R
tents.c
tents.html
towers.R
towers.c
towers.html
tracks.R
tracks.c
tracks.html
tree234.c
tree234.h
twiddle.R
twiddle.c
twiddle.html
undead.R
undead.c
undead.html
unequal.R
unequal.c
unequal.html
unruly.R
unruly.c
unruly.html
untangle.R
untangle.c
untangle.html
version.c
version.h
wceinf.pl
webpage.pl
website.url
windows.c
winiss.pl

README

This is the README accompanying the source code to Simon Tatham's
puzzle collection. The collection's web site is at
<http://www.chiark.greenend.org.uk/~sgtatham/puzzles/>.

If you've obtained the source code by downloading a .tar.gz archive
from the Puzzles web site, you should find several Makefiles in the
source code. However, if you've checked the source code out from the
Puzzles Subversion repository, you won't find the Makefiles: they're
automatically generated by `mkfiles.pl', so run that to create them.

The Makefiles include:

 - `Makefile' should work under GNU make on Linux, provided you have
   GTK installed to compile and link against. It builds GTK binaries
   of the puzzle games.

 - `Makefile.vc' should work under MS Visual C++ on Windows.

 - `Makefile.cyg' should work under Cygwin / MinGW. With appropriate
   tweaks and setting of TOOLPATH, it should work for both compiling
   on Windows and cross-compiling on Unix.

 - `Makefile.osx' should work under Mac OS X, provided the Xcode
   tools are installed. It builds a single monolithic OS X
   application capable of running any of the puzzles, or even more
   than one of them at a time.

 - `Makefile.wce' should work under MS eMbedded Visual C++ on
   Windows and the Pocket PC SDK; it builds Pocket PC binaries.

Many of these Makefiles build a program called `nullgame' in
addition to the actual game binaries. This program doesn't do
anything; it's just a template for people to start from when adding
a new game to the collection, and it's compiled every time to ensure
that it _does_ compile and link successfully (because otherwise it
wouldn't be much use as a template). Once it's built, you can run it
if you really want to (but it's very boring), and then you should
ignore it.

DO NOT EDIT THE MAKEFILES DIRECTLY, if you plan to send any changes
back to the maintainer. The makefiles are generated automatically by
the Perl script `mkfiles.pl' from the file `Recipe' and the various
.R files. If you need to change the makefiles as part of a patch,
you should change Recipe, *.R, and/or mkfiles.pl.

The manual is provided in Windows Help format for the Windows build;
in text format for anyone who needs it; and in HTML for the Mac OS X
application and for the web site. It is generated from a Halibut
source file (puzzles.but), which is the preferred form for
modification. To generate the manual in other formats, rebuild it,
or learn about Halibut, visit the Halibut website at
<http://www.chiark.greenend.org.uk/~sgtatham/halibut/>.