simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Thu Feb 2 07:13:13 GMT 2012


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9395
Date:           2012-02-02 07:13:12 +0000 (Thu, 02 Feb 2012)

Log message (13 lines):
Can now take the dual of a grid

Taking the dual of a grid creates a new grid with one vertex
for each face of the original and one face for each vertex. This
allows the easy introduction of a new grid type, the dual of the
octagonal grid, which is a square grid in which each square is split
into four triangles.

Of the grid types currently present, square is its own dual,
honeycomb is the dual of triangles, cairo is the dual of snub-squares,
kites is the dual of great-hexagonal, and the dodecagonal ones would
have vertices with twelve edges, probably not practical. The others
all have duals that would introduce new classes of puzzle.

Modified files:
U   puzzles/grid.c
U   puzzles/grid.h
U   puzzles/loopy.c

Links:
http://svn.tartarus.org/sgt/?rev=9395&view=rev
http://svn.tartarus.org/sgt/puzzles/grid.c?rev=9395&r1=9394&r2=9395
http://svn.tartarus.org/sgt/puzzles/grid.h?rev=9395&r1=9394&r2=9395
http://svn.tartarus.org/sgt/puzzles/loopy.c?rev=9395&r1=9394&r2=9395



More information about the tartarus-commits mailing list