simon-git: puzzles (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Nov 18 14:02:53 GMT 2023
TL;DR:
cb8dcc3 Untangle: turn #define VERTEX_NUMBERS into a preference.
Repository: https://git.tartarus.org/simon/puzzles.git
On the web: https://git.tartarus.org/?p=simon/puzzles.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2023-11-18 14:02:53
commit cb8dcc34f7c656b8603a510617e35492a0d16b8c
web diff https://git.tartarus.org/?p=simon/puzzles.git;a=commitdiff;h=cb8dcc34f7c656b8603a510617e35492a0d16b8c;hp=96d65e852cea8a95001fa70e3ec2996d4ea5e2b4
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Nov 18 13:56:42 2023 +0000
Untangle: turn #define VERTEX_NUMBERS into a preference.
This compile-time definition switches the game into showing a distinct
non-negative integer for each vertex, instead of indistinguishable
blobs.
Its main use to me in the past has been when I'm trying to planarise
'real' graphs, that is, graphs I got from outside the game and wanted
a planar embedding of. Having made one in Untangle's UI I could then
read off which vertex was which.
That's an unusual use of the game, but _might_ be useful to someone
else. Perhaps a more interesting use of this feature would be to
direct someone else's play verbally - it would be much easier to tell
them which vertex to click on that way!
untangle.c | 43 ++++++++++++++++++++++++++++---------------
1 file changed, 28 insertions(+), 15 deletions(-)
More information about the tartarus-commits
mailing list