Paul Crowley (
ciphergoth) wrote2006-12-28 03:52 pm
Puzzleicious
I 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
no subject
- 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
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
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
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
no subject
no subject
no subject
no subject
no subject
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
Tantrix
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
But I could extend it to do the other puzzles... :-)
no subject
no subject
no subject