ciphergoth: (Default)
[personal profile] ciphergoth
I had a lovely Christmas with [livejournal.com profile] spikeylady, [livejournal.com profile] some_fox, [livejournal.com profile] buttonmeup, [livejournal.com profile] 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.

Tantrix

Date: 2006-12-30 09:30 pm (UTC)
From: [identity profile] thekumquat.livejournal.com
Tchah - they had that in the castle we were in this week and I'd got all of them up to 9, but not the 10 one!

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)
From: [identity profile] ciphergoth.livejournal.com
yes, my puzzle only has three colours on all the tiles. I've constructed the answers with the real tiles so I'm pretty sure I have them right - down to which colours occlude which on each tile :-)

But I could extend it to do the other puzzles... :-)

Profile

ciphergoth: (Default)
Paul Crowley

January 2025

S M T W T F S
   1234
5678 91011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 27th, 2026 01:56 am
Powered by Dreamwidth Studios