Added an automatic `Solve' feature to most games. This is useful for
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 2 May 2005 13:17:10 +0000 (13:17 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Mon, 2 May 2005 13:17:10 +0000 (13:17 +0000)
commit2ac6d24e968232e9040ee0bca5e605b3a75e9c39
treecae01c5919854fcbbffae43de6032fc50ae5c031
parent1cdfcdbdd6bb3f14838be9ff1ef78699bffba9c1
Added an automatic `Solve' feature to most games. This is useful for
various things:
 - if you haven't fully understood what a game is about, it gives
   you an immediate example of a puzzle plus its solution so you can
   understand it
 - in some games it's useful to compare your solution with the real
   one and see where you made a mistake
 - in the rearrangement games (Fifteen, Sixteen, Twiddle) it's handy
   to be able to get your hands on a pristine grid quickly so you
   can practise or experiment with manoeuvres on it
 - it provides a good way of debugging the games if you think you've
   encountered an unsolvable grid!

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5731 cda61777-01e9-0310-a592-d414129be87e
16 files changed:
cube.c
fifteen.c
gtk.c
midend.c
net.c
netslide.c
nullgame.c
osx.m
pattern.c
puzzles.but
puzzles.h
rect.c
sixteen.c
solo.c
twiddle.c
windows.c