aboutsummaryrefslogtreecommitdiff
path: root/PuzzleApplet.java
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2008-11-16 15:28:28 +0000
committerSimon Tatham <anakin@pobox.com>2008-11-16 15:28:28 +0000
commitce237a73ee2c4a4e0d79f6719f756a6debc4caf0 (patch)
treec1650dc9b573e1458fd50e09e55132c094a79b90 /PuzzleApplet.java
parent23fb0e7753804d86fff53f1bc1fbc3e286f60c7c (diff)
downloadpuzzles-ce237a73ee2c4a4e0d79f6719f756a6debc4caf0.zip
puzzles-ce237a73ee2c4a4e0d79f6719f756a6debc4caf0.tar.gz
puzzles-ce237a73ee2c4a4e0d79f6719f756a6debc4caf0.tar.bz2
puzzles-ce237a73ee2c4a4e0d79f6719f756a6debc4caf0.tar.xz
Couple of solving-related mid-end tweaks. Firstly, when we generate
a game which comes with an aux string, we immediately self-test that string by passing it to solve() and test by assertion that it succeeded. So a bug in a back end which intermittently generates malformed aux strings will be detected as soon as it occurs, instead of only if the user happens to use the Solve operation on a particular game in which it happened. Secondly, Ctrl-S now (undocumentedly) triggers the Solve operation, on the general principle that keyboard shortcuts tend to come in handy, and on the specific principle that if you want to look at lots of solved grids in quick succession (say, when observing their general shape and nature to see if your generation algorithm was good or not) it's handy to have a quick way of getting to them. [originally from svn r8298]
Diffstat (limited to 'PuzzleApplet.java')
0 files changed, 0 insertions, 0 deletions