A javascript implementation of http://en.wikipedia.org/wiki/Hex_(board_game).