shithub: puzzles

Download patch

ref: f2ff444fca4da3f63fe0473fc660bb3a5429c2bc
parent: 121f664b628c4c1d434cad6950526e5dd469f5ea
author: Simon Tatham <anakin@pobox.com>
date: Wed Aug 31 08:17:01 EDT 2005

Now that Map has some seriously complex deductions, it's about time
it had a command-line solver. In order to do this, I've had to
expose the internal region numbering because the solver has to have
some way to state which region it means; and in any case it's also
useful to have human-visible region numbering so that two people can
discuss a puzzle they're solving together. So pressing L during play
now toggles the display of region numbers; and `mapsolver' uses
those same numbers when showing its working and its solutions.

[originally from svn r6244]