ref: ed82ef5c0e74de5ef743e61aebad59b2acea7a49
parent: 8cfcbac02795801b712e16492bbfeead35896b0c
author: Simon Tatham <anakin@pobox.com>
date: Thu Apr 11 08:51:05 EDT 2013
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. [originally from svn r9824]