From James Harvey (via a period of collaborative polishing), a patch
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 24 Apr 2011 09:10:52 +0000 (09:10 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 24 Apr 2011 09:10:52 +0000 (09:10 +0000)
commitcebf0b0d2fe234f4888053189e235ab8be0a2fa4
tree28ab54312b25f9ccf288c553a74db0fea5646ba0
parenta10bec2133f43e127c1f6da28d05acd746ae306a
From James Harvey (via a period of collaborative polishing), a patch
to add two kinds of Penrose tiling to the grid types supported by
Loopy.

This has involved a certain amount of infrastructure work, because of
course the whole point of Penrose tilings is that they don't have to
be the same every time: so now grid.c has grown the capacity to
describe its grids as strings, and reconstitute them from those string
descriptions. Hence a Penrose Loopy game description consists of a
string identifying a particular piece of Penrose tiling, followed by
the normal Loopy clue encoding.

All the existing grid types decline to provide a grid description
string, so their Loopy game descriptions have not changed encoding.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9159 cda61777-01e9-0310-a592-d414129be87e
grid.c
grid.h
loopy.R
loopy.c
penrose.c [new file with mode: 0644]
penrose.h [new file with mode: 0644]