chiark / gitweb /
Fixes for handling human-entered Flip games. The clicked-on square
authorSimon Tatham <anakin@pobox.com>
Mon, 10 Oct 2005 16:31:26 +0000 (16:31 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 10 Oct 2005 16:31:26 +0000 (16:31 +0000)
commitdd175e490a197026210ba4432eec6236971c6173
tree33808474c6aaf0b3393567bb40094281c51fac6d
parent813cd5e3bf17c426bfafcf9d64f94ddeaf8deac0
Fixes for handling human-entered Flip games. The clicked-on square
always got a flip animation even when it wasn't one of the ones
being turned, and a square with no effect at all was still counting
as a move.

Since it's an invariant of Flip's internal generator that every
square includes itself as an effect, this never comes up in auto-
generated games.

[originally from svn r6384]
flip.c