chiark / gitweb /
From James Harvey (via a period of collaborative polishing), a patch
authorSimon Tatham <anakin@pobox.com>
Sun, 24 Apr 2011 09:10:52 +0000 (09:10 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 24 Apr 2011 09:10:52 +0000 (09:10 +0000)
commit62c20496bf106b1034f4be95bdb7723c3ec78d00
tree28ab54312b25f9ccf288c553a74db0fea5646ba0
parentf390d0d7ff4972e4cb8aa778c2eb44452067d6d0
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.

[originally from svn r9159]
grid.c
grid.h
loopy.R
loopy.c
penrose.c [new file with mode: 0644]
penrose.h [new file with mode: 0644]