aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-07-21 18:06:31 +0000
committerSimon Tatham <anakin@pobox.com>2005-07-21 18:06:31 +0000
commit6bce285027a9eacd50b92b5a26e1cd3c5c69a4ca (patch)
tree332aa3f0abd11b9834f7114f0218b1bc099cf793 /pattern.c
parentd2d4b07e1573c624b8e6cc42a4436397161d7512 (diff)
downloadpuzzles-6bce285027a9eacd50b92b5a26e1cd3c5c69a4ca.zip
puzzles-6bce285027a9eacd50b92b5a26e1cd3c5c69a4ca.tar.gz
puzzles-6bce285027a9eacd50b92b5a26e1cd3c5c69a4ca.tar.bz2
puzzles-6bce285027a9eacd50b92b5a26e1cd3c5c69a4ca.tar.xz
Until now, Same Game has been the only puzzle in this collection
which is unable to guarantee that every grid it generates can be solved. So I'm eliminating that exception: this checkin contains a more sophisticated grid generator which does guarantee solubility. It's a bit slow (most noticeably on the 15x10c3 preset), and the quality of the generated grids is slightly weird (a tendency toward small regions rather than large sweeping areas of contiguous colour); however, I'm willing to see the latter as a feature for now, since making the game more challenging while simultaneously guaranteeing it to be possible sounds like an all-round win to me. From now on I'm raising my standards for contributions to this collection. I made this fix to Same Game because I heard a user _automatically assume_ that any puzzle in my collection would not be so uncouth as to generate an impossible grid; as of this checkin that's actually true, and I intend to maintain that standard of quality henceforth. (Guaranteeing a _unique_ solution is more of an optional extra, since there are many games for which it isn't a meaningful concept or isn't particularly desirable. Which is not to say that _some_ games wouldn't be of unacceptably low quality if they failed to guarantee uniqueness; it depends on the game.) [originally from svn r6124]
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions