Puzzleicious
Dec. 28th, 2006 03:52 pmI had a lovely Christmas with
spikeylady,
some_fox,
buttonmeup,
yerbury and family.
I got given a "Tantrix" puzzle for Christmas as a stocking present. It contains 10 hexagonal tiles; you have to lay the tiles out to create a loop of one colour such that all the edges match up.
Actually solving the puzzles quickly lost my interest, so instead I wrote a program to solve them. Then I got interested in making a nice display of the results. I've now found all 2706 solutions to the 12 puzzles that form part of the set.

For those interested, the solver is in Python, and uses Cairo for drawing.
I got given a "Tantrix" puzzle for Christmas as a stocking present. It contains 10 hexagonal tiles; you have to lay the tiles out to create a loop of one colour such that all the edges match up.
Actually solving the puzzles quickly lost my interest, so instead I wrote a program to solve them. Then I got interested in making a nice display of the results. I've now found all 2706 solutions to the 12 puzzles that form part of the set.
For those interested, the solver is in Python, and uses Cairo for drawing.
no subject
Date: 2006-12-28 04:07 pm (UTC)no subject
Date: 2006-12-28 04:13 pm (UTC)no subject
Date: 2006-12-28 04:15 pm (UTC)no subject
Date: 2006-12-28 04:21 pm (UTC)no subject
Date: 2006-12-28 04:48 pm (UTC)- I don't think he'd want to bring in either Python or Cairo as dependencies
- if it becomes part of a package like xscreensaver the puzzle makers might mind on copyright grounds
- it's not all that animated
but thanks - I'm glad it looks the part :-)
no subject
Date: 2006-12-28 05:29 pm (UTC)no subject
Date: 2006-12-28 07:05 pm (UTC)no subject
Date: 2006-12-28 07:19 pm (UTC)no subject
Date: 2006-12-28 07:37 pm (UTC)no subject
Date: 2006-12-28 07:40 pm (UTC)no subject
Date: 2006-12-28 07:48 pm (UTC)no subject
Date: 2006-12-28 07:49 pm (UTC)no subject
Date: 2006-12-28 07:51 pm (UTC)no subject
Date: 2006-12-28 10:02 pm (UTC)no subject
Date: 2006-12-28 10:09 pm (UTC)Then again this is a man who deliberately signs up (or at least doesn't avoid it) for spam, sets it to come in to an old email address in Outlook Express and then sorts it manually by hand and gets all fascinated by the categories.
no subject
Date: 2006-12-28 11:23 pm (UTC)We got one of these puzzles last year and I had great fun solving it, by hand. Maybe I should learn Python (not that I have any time to code these days).
no subject
Date: 2006-12-29 02:22 am (UTC)It's likely that it hasn't found all the possible solutions then, since that bug will break the distance-based cutoff critereon.
Thanks for spotting it!
no subject
Date: 2006-12-29 02:48 am (UTC)no subject
Date: 2006-12-29 08:24 am (UTC)no subject
Date: 2006-12-29 11:22 am (UTC)no subject
Date: 2006-12-29 11:47 am (UTC)no subject
Date: 2006-12-29 10:17 pm (UTC)no subject
Date: 2006-12-30 10:51 am (UTC)Tantrix
Date: 2006-12-30 09:30 pm (UTC)Just a minute - your pic there doesn't have a 4th colour which appears on the last 3 tiles - are you sure you've replicated the puzzle accurately?
Re: Tantrix
Date: 2006-12-31 12:57 am (UTC)But I could extend it to do the other puzzles... :-)
no subject
Date: 2007-01-02 04:12 pm (UTC)no subject
Date: 2007-01-02 04:14 pm (UTC)no subject
Date: 2007-01-12 05:56 pm (UTC)no subject
Date: 2007-01-12 09:38 pm (UTC)