Archive for March, 2009

Tesselating hexagons and Go

Posted in Programming on March 3rd, 2009 by Mat – Be the first to comment

These handy go board templates have enlightened to me to the awesomeness of postscript, so I decided to have a go at creating my own.

It’s a hexagonal go board. Stones have either 3 (playing on the intersections) or 6 (playing inside the hexagons) liberties instead of the usual 4. I have yet to try it out, but apparently having less liberties makes the game more tactical, as its a lot easier to capture stones. See here for some more info on different board variations.

You can download it as pdf or postscript (both are A4 sized)

Also seeing as how I’m probably not going to be working on my go program for a while I’ve uploaded the code for that here.
I haven’t tested it on other computers at all but it should work as long as you have python and wxpython (for the GUI) installed. The GUI is pretty crappy at the moment as it only supports 9×9 games but the text version is a bit more flexible. Also theres no way of playing against a computer or internet person yet.

run it with
python run.py
or
python run_gui.py