Remove the 'cheated' flag in Range's game_ui, which was stickily
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 18 Sep 2011 07:43:19 +0000 (07:43 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 18 Sep 2011 07:43:19 +0000 (07:43 +0000)
commited375bd341a1d52ffd27a3245980bcb970b10848
tree32968c9b708e47c1ee3ec781faa032801e1ee808
parent77dcb2a600afa28bd8a197bf63ff6a0898e59436
Remove the 'cheated' flag in Range's game_ui, which was stickily
remembering whether the player had ever used the hint or solve
functions, even if they then pressed undo (and even if they saved and
restored).

As far as Solve+Undo is concerned, this just brings Range into line
with common practice in the rest of my puzzles. On the other hand,
Range is the first time there's been a 'hint' function to consider in
this question, so here's a policy decision: the victory flash is not a
congratulation for a puzzle solved unaided, it's a confirmation that
you really have reached a correct solution and haven't made any
mistakes. So the only reason to omit the victory flash is if you've
used the Solve operation to go straight to a guaranteed-correct
solution _in a single move_; if you're using the hint button, there's
still scope for you to make mistakes in all your non-hint moves, so
the victory flash is still a useful indicator that you didn't.

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