diff options
| author | Simon Tatham <anakin@pobox.com> | 2005-09-11 12:40:49 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2005-09-11 12:40:49 +0000 |
| commit | b25fcc3f2621b0b41f3ae7cdabe57ed07f62d2c2 (patch) | |
| tree | 60df26d34533852d2af8f3c6436dbb2679cda27f /puzzles.but | |
| parent | 08c8cf370ef7575a78988eb7d8f98c2a0bb92c63 (diff) | |
| download | puzzles-b25fcc3f2621b0b41f3ae7cdabe57ed07f62d2c2.zip puzzles-b25fcc3f2621b0b41f3ae7cdabe57ed07f62d2c2.tar.gz puzzles-b25fcc3f2621b0b41f3ae7cdabe57ed07f62d2c2.tar.bz2 puzzles-b25fcc3f2621b0b41f3ae7cdabe57ed07f62d2c2.tar.xz | |
Solve function for Inertia, using what's essentially an approximate
TSP algorithm.
[originally from svn r6289]
Diffstat (limited to 'puzzles.but')
| -rw-r--r-- | puzzles.but | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/puzzles.but b/puzzles.but index 47cb78a..00dfef5 100644 --- a/puzzles.but +++ b/puzzles.but @@ -1775,6 +1775,18 @@ numeric keypad. Alternatively, if you click the left mouse button on the grid, the ball will begin a move in the general direction of where you clicked. +If you use the \q{Solve} function on this game, the program will +compute a path through the grid which collects all the remaining +gems and returns to the current position. A hint arrow will appear +on the ball indicating the direction in which you should move to +begin on this path. If you then move in that direction, the arrow +will update to indicate the next direction on the path. You can also +press Space to automatically move in the direction of the hint +arrow. If you move in a different direction from the one shown by +the arrow, the hint arrows will stop appearing because you have +strayed from the provided path; you can then use \q{Solve} again to +generate a new path if you want to. + All the actions described in \k{common-actions} are also available. In particular, if you do run into a mine and die, you can use the Undo function and resume playing from before the fatal move. The |