simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Thu Apr 11 13:51:05 BST 2013


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9824
Date:           2013-04-11 13:51:05 +0100 (Thu, 11 Apr 2013)

Log message (12 lines):
Revamp the triangular grid generation in Loopy, which I've been
meaning to revisit for a while. The new version generates more nicely
symmetric grids (best at even heights, but still improved even at odd
heights), and avoids any 'ears' on the grid (triangles at the corners
connected to only one other triangle, which tend to be boringly easy
places to start solving).

I've reused the grid-description-string mechanism invented for the
Penrose tilings as a versioning mechanism for the triangular grids, so
that old game descriptions should still be valid, and new triangular-
grid game descriptions begin with an "0_" prefix to indicate that they
are based on the new-style construction.

Modified files:
U   puzzles/grid.c

Links:
http://svn.tartarus.org/sgt/?rev=9824&view=rev
http://svn.tartarus.org/sgt/puzzles/grid.c?rev=9824&r1=9823&r2=9824



More information about the tartarus-commits mailing list