aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2012-06-10 07:20:18 +0000
committerSimon Tatham <anakin@pobox.com>2012-06-10 07:20:18 +0000
commit6567260eb0af75a3c82f4a8a8292c6446d94fd98 (patch)
tree4eb9dde88b8c0ae8e87f44a6e485d19473873efa /pattern.c
parent48e9767a206420294147f802a8a2cc5c9e77141c (diff)
downloadpuzzles-6567260eb0af75a3c82f4a8a8292c6446d94fd98.zip
puzzles-6567260eb0af75a3c82f4a8a8292c6446d94fd98.tar.gz
puzzles-6567260eb0af75a3c82f4a8a8292c6446d94fd98.tar.bz2
puzzles-6567260eb0af75a3c82f4a8a8292c6446d94fd98.tar.xz
Vary the behaviour of Mines's solve function depending on whether the
user is already in the 'dead' state when they press it. If so, we reveal the rest of the mines in the grid as if it were the Windows Minesweeper 'you lose' display, which provides information showing what the user got wrong. (Otherwise they have to repeatedly flick back and forth between Solve and Undo if they want to work out which flag they placed wrongly.) If you press Solve while alive, however, the existing behaviour remains unchanged. (This feature was suggested by Clive Jones a couple of weeks after I first wrote Mines, and I've finally got round to doing it!) [originally from svn r9561]
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions