chiark / gitweb /
Error checking in Pattern, which was until now the only remaining game
authorSimon Tatham <anakin@pobox.com>
Fri, 6 Apr 2012 12:34:34 +0000 (12:34 +0000)
committerSimon Tatham <anakin@pobox.com>
Fri, 6 Apr 2012 12:34:34 +0000 (12:34 +0000)
commit704890390d7754861f5a097c6abfe0e1ef4f8d41
tree334d827410c38732e785aa2944bcfbc3bb482d57
parent88accd3ea54dc381c7ff6cf914ead23ad07c8774
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.

[originally from svn r9445]
pattern.c