My fork of Simon Tatham's Portable Puzzle Collection. https://www.chiark.greenend.org.uk/~sgtatham/puzzles/

Asher Gordon d57e232e2b midend_get_prefs: Don't free memory that we just copied elsewhere. 1 anno fa
auxiliary 61e9c78248 grid.c: new and improved Penrose tiling generator. 1 anno fa
cmake 6de17a7511 Refactor the new icon installation code. 1 anno fa
html 43db4aa38e Support user preferences in the Emscripten frontend. 1 anno fa
icons 02cdafaa15 Generate more common icon sizes 1 anno fa
kaios 255744676c KaiOS: be more careful detecting the presence of KaiAds 1 anno fa
osx 806ae71ca4 Add myself to copyright holders and update copyright years 1 anno fa
unfinished a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
.gitignore 0377184510 New puzzle: 'Mosaic'. 3 anni fa
Buildscr 7a66855947 KaiOS: include extra copyright notices in manual 1 anno fa
CHECKLST.txt cc7f5503dc Migrate to a CMake-based build system. 3 anni fa
CMakeLists.txt 61e9c78248 grid.c: new and improved Penrose tiling generator. 1 anno fa
LICENCE 806ae71ca4 Add myself to copyright holders and update copyright years 1 anno fa
Makefile.doc f0f974055b Makefile.doc: Update file list in the clean rule 2 anni fa
PuzzleApplet.java d72db91888 Map Ctrl-Shift-Z to Redo. 7 anni fa
README cc7f5503dc Migrate to a CMake-based build system. 3 anni fa
benchmark.pl d7c873313e benchmark.pl: replace use of Perl <> with <<>>. 5 anni fa
benchmark.sh 6691ad180c Fix benchmark.sh for the new cmake world. 3 anni fa
blackbox.c 6db5cdadd0 Blackbox: correct FROMDRAW() macro for C division semantics 1 anno fa
bridges.c c8cc4a5f38 Add user preference for Bridges' "G" key (show_hints) 1 anno fa
chm.css d1cfcffa05 Ability to build a .CHM for Puzzles. I haven't yet arranged for it 18 anni fa
combi.c 83244294f5 Move other test main()s out of library source files. 1 anno fa
cube.c 5fb94c9f47 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Cube 1 anno fa
desktop.pl 71c66b6fbd desktop.pl: cope with unfinished puzzles. 3 anni fa
devel.but 1547154efb Expose the NO_EFFECT/UNUSED distinction through midend_process_key() 1 anno fa
divvy.c c5e253a9f9 Reorganise the dsf API into three kinds of dsf. 1 anno fa
dominosa.c dd0004fb5e Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Dominosa 1 anno fa
drawing.c 3b9cafa09f Fall back to <math.h> if <tgmath.h> doesn't work. 1 anno fa
dsf.c 68d242c587 Actually rewrite the dsf implementation. 1 anno fa
emcc.c ad7042db98 js: Copy-to-clipboard support 1 anno fa
emcccopy.but 7a66855947 KaiOS: include extra copyright notices in manual 1 anno fa
emcclib.js 5acce15ed9 js: pass preferences file from JS to C on the heap, not the stack 1 anno fa
emccpre.js ad7042db98 js: Copy-to-clipboard support 1 anno fa
fifteen.c 73e7bf73bb Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Fifteen 1 anno fa
filling.c f749a33c5e Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Filling 1 anno fa
findloop.c bb926f4ee4 findloop: alternative query function. 5 anni fa
flip.c 88f86918bf Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Flip 1 anno fa
flood.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
fuzzpuzz.c 015bd14474 Don't give the libFuzzer version of fuzzpuzz a special name 1 anno fa
fuzzpuzz.dict f5924fc8a7 Correct syntax of fuzzpuzz.dict 1 anno fa
galaxies.c a56781bb69 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Galaxies 1 anno fa
grid.c 40d0de7a66 grid_edge_bydots_cmpfn: remove dangerous pointer comparison. 1 anno fa
grid.h e6cdd70df8 grid.c: allocate face/edge/dot arrays incrementally. 1 anno fa
gtk.c 1547154efb Expose the NO_EFFECT/UNUSED distinction through midend_process_key() 1 anno fa
gtk.h 873d613dd5 Fix missing statics and #includes on variables. 1 anno fa
guess.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
hat-internal.h 71e1776094 Move hat-test into its own source file. 1 anno fa
hat-tables.h 6f75879e9f Hats tiling: more uniform parent selection. 1 anno fa
hat.c 6fb890e0ea Reference my just-published article about aperiodic tilings. 1 anno fa
hat.h 8d6647548f Loopy / grid.c: new grid type, 'Hats'. 1 anno fa
inertia.c 0058331aeb New backend functions: get_prefs and set_prefs. 1 anno fa
keen.c c5076be383 Keen: fix another misuse of dsf_canonify. 1 anno fa
latin.c 83244294f5 Move other test main()s out of library source files. 1 anno fa
latin.h 5030d87903 latin_solver_alloc: handle clashing numbers in input grid. 1 anno fa
laydomino.c 706e27de8d Patch from James H to abstract out of Dominosa the code which 15 anni fa
lightup.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
list.c 873d613dd5 Fix missing statics and #includes on variables. 1 anno fa
loopgen.c e6cdd70df8 grid.c: allocate face/edge/dot arrays incrementally. 1 anno fa
loopgen.h e6cdd70df8 grid.c: allocate face/edge/dot arrays incrementally. 1 anno fa
loopy.c e6cdd70df8 grid.c: allocate face/edge/dot arrays incrementally. 1 anno fa
magnets.c c82537b457 Fix some unused-variable warnings. 1 anno fa
malloc.c 57fbcd2b29 malloc.c: check allocation sizes against PTRDIFF_MAX. 2 anni fa
map.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
matching.c 83244294f5 Move other test main()s out of library source files. 1 anno fa
matching.h 83244294f5 Move other test main()s out of library source files. 1 anno fa
midend.c d57e232e2b midend_get_prefs: Don't free memory that we just copied elsewhere. 1 anno fa
mines.c 87e98e6715 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Mines 1 anno fa
misc.c 6b5142a7a9 Move mul_root3 out into misc.c and generalise it. 1 anno fa
mosaic.c c82537b457 Fix some unused-variable warnings. 1 anno fa
nestedvm.c 1547154efb Expose the NO_EFFECT/UNUSED distinction through midend_process_key() 1 anno fa
net.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
netslide.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
no-icon.c 873d613dd5 Fix missing statics and #includes on variables. 1 anno fa
nullfe.c bb1ab36108 Keep a set of preferences in the midend. 1 anno fa
nullgame.c 0058331aeb New backend functions: get_prefs and set_prefs. 1 anno fa
osx-help.but 1c47f2b553 Improve OS X help: split back up into multiple files (thanks to 20 anni fa
osx.m a95796ebca osx.m: avoid division by zero in startConfigureSheet. 1 anno fa
padtoolbar.bmp 15f70f527a Dariusz Olszewski's changes to support compiling for PocketPC. This 17 anni fa
palisade.c c82537b457 Fix some unused-variable warnings. 1 anno fa
pattern.c c82537b457 Fix some unused-variable warnings. 1 anno fa
pearl.c e6cdd70df8 grid.c: allocate face/edge/dot arrays incrementally. 1 anno fa
pegs.c 1d56527014 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Pegs 1 anno fa
penrose-internal.h 61e9c78248 grid.c: new and improved Penrose tiling generator. 1 anno fa
penrose-legacy.c 61e9c78248 grid.c: new and improved Penrose tiling generator. 1 anno fa
penrose-legacy.h 61e9c78248 grid.c: new and improved Penrose tiling generator. 1 anno fa
penrose.c 61e9c78248 grid.c: new and improved Penrose tiling generator. 1 anno fa
penrose.h 61e9c78248 grid.c: new and improved Penrose tiling generator. 1 anno fa
printing.c bb1ab36108 Keep a set of preferences in the midend. 1 anno fa
ps.c 88358f0643 Add 'const' to the draw_polygon coords array parameter. 3 anni fa
puzzle.desktop.in c99fbed8c9 Install the icons to the right location on Linux 1 anno fa
puzzles.but c8cc4a5f38 Add user preference for Bridges' "G" key (show_hints) 1 anno fa
puzzles.h 6b5142a7a9 Move mul_root3 out into misc.c and generalise it. 1 anno fa
puzzles.rc 19aa3a5d4b Remove leftover Windows CE cruft. 3 anni fa
random.c 93be3f7cca Be more careful with type of left operand of << 1 anno fa
range.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
rect.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
samegame.c 9e4e15fda2 Use the standard game_mkhighlight in Same Game 1 anno fa
signpost.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
singles.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
sixteen.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
slant.c 19b3bfc0d3 Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Slant 1 anno fa
solo.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
sort.c 83244294f5 Move other test main()s out of library source files. 1 anno fa
spectre-internal.h 14db5e0145 spectre_adjacent: optionally report dst_edge. 1 anno fa
spectre-tables-auto.h a33d9fad02 Loopy / grid.c: support the new Spectre monotiling. 1 anno fa
spectre-tables-manual.h a33d9fad02 Loopy / grid.c: support the new Spectre monotiling. 1 anno fa
spectre.c 14db5e0145 spectre_adjacent: optionally report dst_edge. 1 anno fa
spectre.h a33d9fad02 Loopy / grid.c: support the new Spectre monotiling. 1 anno fa
tdq.c 5f5b284c0b Use C99 bool within source modules. 6 anni fa
tents.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
towers.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
tracks.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
tree234.c 83244294f5 Move other test main()s out of library source files. 1 anno fa
tree234.h 83244294f5 Move other test main()s out of library source files. 1 anno fa
twiddle.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
undead.c c82537b457 Fix some unused-variable warnings. 1 anno fa
unequal.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
unruly.c c82537b457 Fix some unused-variable warnings. 1 anno fa
untangle.c a9af3fda1d Rename UI_UPDATE as MOVE_UI_UPDATE 1 anno fa
version.c 873d613dd5 Fix missing statics and #includes on variables. 1 anno fa
version.h 1ba20eddba Provide a static version.h for development builds. 10 anni fa
webpage.pl cc7f5503dc Migrate to a CMake-based build system. 3 anni fa
website.url cce13ed712 Switch chiark URLs to https. 7 anni fa
windows.c 1547154efb Expose the NO_EFFECT/UNUSED distinction through midend_process_key() 1 anno fa
winwix.mc 3cf09c2615 Reinstate 32-bit Windows builds of Puzzles. 7 anni fa

README

This is the README accompanying the source code to Simon Tatham's
puzzle collection. The collection's web site is at
.

The puzzle collection is built using CMake . To
compile in the simplest way (on any of Linux, Windows or Mac), run
these commands in the source directory:

cmake .
cmake --build .

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
.