Havannah (board game)

Examples of the three winning structures in Havannah, on a base-8 board. From left to right, they are the fork, the ring and the bridge.

Havannah is a two-player abstract strategy board game invented by Christian Freeling. It belongs to the family of games commonly called connection games; its relatives include Hex and TwixT. Havannah has "a sophisticated and varied strategy" and is best played on a base-10 hexagonal board, 10 hex cells to a side.[1]

The game was published for a period in Germany by Ravensburger, with a smaller, base-8 board suitable for beginners. It is nowadays only produced by Hexboards.[2]

Game rules

[edit]

One player plays as black; the other plays as white. White starts, after which moves alternate. The rules are as follows:

  • Each player places one stone of their color on the board per turn.
  • Stones are never moved, captured, or otherwise changed.
  • A player wins when they complete one of three different structures from unbroken lines, or paths, of connected stones, all of their colour:
    • A ring is a loop around one or more cells (no matter whether the encircled cells are occupied by any player or empty[3]);
    • A bridge, which connects any two of the six corner cells of the board;
    • A fork, which connects any three edges of the board; corner points are not considered parts of an edge.

An example of all three winning combinations is shown above. The structure in the centre of the board is a ring; the structure on the left-hand side is a fork; the structure on the right-hand side is a bridge.

Since the first player to move in Havannah has a distinct advantage, the pie rule is generally implemented for fairness. This rule allows the second player to choose whether to switch positions with the first player after the first player makes the first move.[4]

Players of different strength can still play an interesting game when the weaker player (as white) is allowed to place two or more stones on the first turn.

Difference compared to Hex

[edit]

In Hex, when the board is completely filled, exactly one player will have a winning connection; in Havannah a completely filled board will have usually more than one winning structures (but the game ends with first winning structure).

Unlike in Hex, in Havannah draws are technically possible, in practice they are extremely rare. There has been one known draw between human players.[5] Tactics are much easier to master than strategy, and differences in playing level are considerable.

Computer Havannah

[edit]

In 2002 Freeling offered a prize of 1000 euros, available through 2012, for any computer program that could beat him in even one game of a ten-game match. For many years, computer programs lagged far behind human players. However, since 2010 several Havannah-playing programs have applied Monte Carlo tree search techniques resulting in some notable improvement in playing strength. The "Havannah Challenge 2012" was held October 15–19, 2012 during which Freeling played ten games against three of the strongest Havannah-playing programs available, playing (at least) one game as black and one as white against each opponent.[6] Freeling lost the challenge when he had to resign a game with white against the Lajkonik program.

Until 2019, the best humans were still by far stronger than computers. However, MetaTotoro, based on Polygames[7] (an open-source project, initially developed by Facebook Artificial Intelligence Research and several universities[8]), won four times in a row on the board of size 8 against the human player with the best ELO rank on LittleGolem, who was also the winner of various tournaments.

This result was achieved by the same program as the one used for beating best humans at Hex. It is a zero-learning based algorithm, as in AlphaZero, but with novelties: boardsize invariance thanks to fully convolutional neural networks (as in U-Net) and global pooling. This allows growing architectures, meaning the program can learn on a small board, and then extrapolate on a large board.[9]

Havannah is a recurring game at the Computer Olympiad. It is played on a base-8 board and sometimes also on a base-10 board. During this competition the pie rule is used.

Computational complexity

[edit]

Solving Havannah is PSPACE-complete with respect to the size of the input graph.[10] The proof is by a reduction from generalized geography and is based on using ring-threats to represent the geography graph. In detail, since Lichtenstein and Sipser have proved that generalized geography remained PSPACE-hard even if the graph is only bipartite and of degree at most 3, it only remains to construct an equivalent Havannah position from such a graph, which is accomplished by constructing various gadgets in Havannah.

Reviews

[edit]

References

[edit]
  1. ^ Handscomb, Kerry, ed. (Winter 2002). "Front Cover". Abstract Games (12). Carpe Diem Publishing. ISSN 1492-0492.
  2. ^ Hexboards
  3. ^ As clarified by Freeling at http://www.mindsports.nl/index.php/arena/havannah/49-havannah-rules; Schmittberger's book wrongly states that a ring should surround at least one vacant cell.
  4. ^ Schmittberger, R. Wayne (1992), "Havannah", New Rules for Classic Games, John Wiley & Sons, Inc., pp. 116–17, ISBN 978-0471536215
  5. ^ "Little Golem".
  6. ^ "Human against Computer: 7-3 - Press release".
  7. ^ facebookincubator/Polygames, Facebook Incubator, 2020-05-28, retrieved 2020-05-29
  8. ^ "Open-sourcing Polygames, a new framework for training AI bots through self-play". ai.facebook.com. Retrieved 2020-05-29.
  9. ^ Cazenave, Tristan; Chen, Yen-Chi; Chen, Guan-Wei; Chen, Shi-Yu; Chiu, Xian-Dong; Dehos, Julien; Elsa, Maria; Gong, Qucheng; Hu, Hengyuan; Khalidov, Vasil; Li, Cheng-Ling; Lin, Hsin-I; Lin, Yu-Jin; Martinet, Xavier; Mella, Vegard; Rapin, Jeremy; Roziere, Baptiste; Synnaeve, Gabriel; Teytaud, Fabien; Teytaud, Olivier; Ye, Shi-Cheng; Ye, Yi-Jun; Yen, Shi-Jim; Zagoruyko, Sergey (2020-01-27). "Polygames: Improved Zero Learning". arXiv:2001.09832 [cs.LG].
  10. ^ Bonnet, Édouard; Jamain, Florian; Saffidine, Abdallah (14 August 2013). Havannah and TwixT are PSPACE-complete. The 8th Intl. Conf. on Computers and Games. Keio University, Yokohama, Japan. arXiv:1403.6518. doi:10.1007/978-3-319-09165-5_15.
  11. ^ "Jeux & stratégie 09". June 1981.
[edit]