Error checking in Pattern, which was until now the only remaining game
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 6 Apr 2012 12:34:34 +0000 (12:34 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 6 Apr 2012 12:34:34 +0000 (12:34 +0000)
commitb4b0a0ff28669d3677dc7d7e658bd473bb3de250
tree334d827410c38732e785aa2944bcfbc3bb482d57
parent64010fc4cd5dc8a15c022f3e22bc008a4edea7fd
Error checking in Pattern, which was until now the only remaining game
that _ought_ to have it but did not.

I've tried to implement it before and found that the most obvious
approach was so effective as to constitute a spoiler, so this is a
deliberately weakened approach which in a bit of play-testing seems to
be a more sensible balance. It won't necessarily tell you at the very
instant you put a foot wrong, but it will at least ensure that (my
usual minimum standard) once you've filled in the whole grid you will
either have seen a victory flash, or an error indicator showing you
why not.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@9445 cda61777-01e9-0310-a592-d414129be87e
pattern.c