Gomoku

Gomoku is an abstract strategy board game. Also called Gobang or Five in a Row, it is traditionally played with Go pieces (black and white stones) on a go board with 19x19 (15x15) intersections;[1] however, because pieces are not moved or removed from the board, gomoku may also be played as a paper and pencil game. This game is known in several countries under different names.

Black plays first if white did not win in the previous game, and players alternate in placing a stone of their color on an empty intersection. The winner is the first player to get an unbroken row of five stones horizontally, vertically, or diagonally.

Origin

It originated in Japan during the Heian period. The name "Gomoku" is from the Japanese language, in which it is referred to as gomokunarabe (五目並べ). Go means five, moku is a counter word for pieces and narabe means line-up. The game is also popular in Korea, where it is called omok (오목 [五目]) which has the same structure and origin as the Japanese name.

The Japanese call this game Go-moku (five stones). In the nineteenth century, the game was introduced to Britain where it was known as Go Bang, said to be a corruption of the Japanese word goban, said to be adopted from Chinese k'i pan (qí pán) "chess-board."[2]

Official rules

Besides many variations around the world, the "Swap2" rule (based on "swap" from Renju) is currently adapted in tournaments among professional players. The first player places 3 stones (2 black 1 white, if black goes first) on the board, the second player has the choice to take black/white or to place 2 more stones to change the shape and let the first player choose color.[3] This is essentially a slightly more elaborate pie rule.

Swap2 solved the low complexity problem[4] and makes the game fairer. Like other rules and variations, 100% fairness can be reached by playing two alternating games for each point.

Variations

Black (the player who makes the first move) was long known to have a big advantage, even before L. Victor Allis proved that black could force a win (see below). So a number of variations are played with extra rules that aimed to reduce black's advantage.

Caro

Omok

Other similar games

Go, an ancient Chinese game, which uses the same grid, but where, instead of placing the stones in the middle of the squares in the grid, you place them at the intersection of the lines. Pente is a game very similar to Gomoku, where, if you can't get five in a row, you can capture five pairs of the opponent's stones instead, like illustrated:

oo

o••o

oo

, or vice versa.

Optional ("house") rules

Specific variations

Theoretical generalizations

Example game

First game

This game on the 15×15 board is adapted from the paper "Go-Moku and Threat-Space Search".[5]

The opening moves show clearly black's advantage. An open row of three (one that is not blocked by an opponent's stone at either end) has to be blocked immediately, or countered with a threat elsewhere on the board. If not blocked or countered, the open row of three will be extended to an open row of four, which threatens to win in two ways.

White has to block open rows of three at moves 10, 14, 16 and 20, but black only has to do so at move 9. Move 20 is a blunder for white (it should have been played next to black 19). Black can now force a win against any defence by white, starting with move 21.

Second game (continuation from first game)

There are two forcing sequences for black, depending on whether white 22 is played next to black 15 or black 21. The diagram on the right shows the first sequence. All the moves for white are forced. Such long forcing sequences are typical in gomoku, and expert players can read out forcing sequences of 20 to 40 moves rapidly and accurately.

Other second game

The diagram on the right shows the second forcing sequence. This diagram shows why white 20 was a blunder; if it had been next to black 19 (at the position of move 22 in this diagram) then black 21 would not be a threat and so the forcing sequence would fail.

World championships

World Championships in Gomoku have occurred 2 times in 1989, 1991.[6] Since 2009 the tournament resumed, the opening rule being played was changed and now is swap2.

List of the tournaments occurred and title holders follows.

World Championships
Title year Hosting city, country Champion Opening rule
1989 Kyoto  Japan Soviet Union Sergey Chernov Gomoku pro (3rd outside 5X5)
1991 Moscow  Soviet Union Soviet Union Yuri Tarannikov Gomoku pro (3rd outside 5X5)
2009 Pardubice  Czech Republic Poland Artur Tamioła Gomoku swap2
2011 Huskvarna  Sweden Hungary Attila Demján Gomoku swap2
2013 Tallinn  Estonia Hungary Attila Demján Gomoku swap2
2015 Suzdal  Russia Hungary Rudolf Dupszki Gomoku swap2
2017 Prague  Czech Republic Hungary Zoltán László Gomoku swap2
Team World Championship
Title year Hosting city, country Champion Opening rule
2016 Tallinn  Estonia  Poland (Żukowski M., Zajk M., Majksner Ł., Małowiejski P.) Gomoku swap2

Computers and Gomoku

People have been applying artificial intelligence techniques on playing gomoku for several decades. In 1994, L. Victor Allis raised the algorithm of proof-number search (pn-search) and dependency-based search (db-search), and proved that when starting from an empty 15×15 board, the first player has a winning strategy using these searching algorithms.[4] This applies regardless of whether overlines are considered as wins, but it assumes that the rule of three and three is not used. It seems very likely that black wins on larger boards too. In any size of a board, freestyle gomoku is an m,n,k-game, hence it is known that the first player can enforce a win or a draw. In 2001, Allis' winning strategy was also approved for renju, a variation of gomoku, when there was no limitation on the opening stage.[7]

However, neither the theoretical values of all legal positions, nor the balanced rules used by the professional gomoku players have been solved yet, so the topic of gomoku artificial intelligence is still a challenge for computer scientists, such as the problem on how to improve the gomoku algorithms to make them more strategic and competitive. Nowadays, most of the state-of-the-art gomoku algorithms are based on the alpha-beta pruning framework.

Reisch proved that Generalized gomoku is PSPACE-complete.[8] He also observed that the reduction can be adapted to the rules of k-in-a-Row for fixed k. Although he did not specify exactly which values of k are allowed, the reduction would appear to generalize to any k ≥ 5.[9]

There exist several well-known tournaments for gomoku programs since 1989. The Computer Olympiad started with the gomoku game in 1989, but gomoku has not been in the list since 1993.[10] The Renju World Computer Championship was started in 1991, and held for 4 times until 2004.[11][12] The Gomocup tournament is played since 2000 and taking place every year, still active now, with more than 30 participants from about 10 countries.[13] The Hungarian Computer Go-Moku Tournament was also played twice in 2005.[14][15] There were also two Computer vs. Human tournaments played in the Czech Republic, in 2006 and 2011.[16][17] Not until 2017 were the computer programs proved to be able to outperform the world human champion in public competitions. In the Gomoku World Championship 2017, there was a match between the world champion program Yixin and the world champion human player Rudolf Dupszki. Yixin won the match with a score of 2-0.[18][19].

See also

References

  1. "Gomoku - Japanese Board Game". Japan 101. Archived from the original on 2014-03-26. Retrieved 2013-06-25.
  2. OED citations: 1886 GUILLEMARD Cruise ‘Marchesa’ I. 267 Some of the games are purely Japanese..as go-ban. Note, This game is the one lately introduced into England under the misspelt name of Go Bang. 1888 Pall Mall Gazette 1. Nov. 3/1 These young persons...played go-bang and cat's cradle. The board below shows the three types of winning arrangements as they might appear on an 8x8 Petteia board. Obviously the cramped conditions would result in a draw most of the time, depending on the rules. Play would be easier on a larger Latrunculi board of 12x8 or even 10x11. .
  3. "Gomoku - swap2 rule". renju.net. Retrieved 2016-11-09.
  4. 1 2 L. Victor Allis (1994). Searching for Solutions in Games and Artificial Intelligence (PDF). Ph.D. thesis, University of Limburg, The Netherlands. ISBN 90-900748-8-0.
  5. Allis, L. V., Herik, H. J., & Huntjens, M. P. H. (1993). Go-moku and threat-space search. University of Limburg, Department of Computer Science.
  6. "The Renju International Federation portal - RenjuNet". Renju.net. Retrieved 2012-10-03.
  7. J. Wágner and I. Virág (Mar 2001). "Solving Renju" (PDF). ICGA journal. 24 (1): 3035.
  8. Stefan Reisch (1980). "Gobang ist PSPACE-vollständig (Gomoku is PSPACE-complete)". Acta Informatica. 13: 59–66. doi:10.1007/bf00288536.
  9. Demaine, Erik; Hearn, Robert. "Playing Games with Algorithms: Algorithmic Combinatorial Game Theory".
  10. "Go-Moku (ICGA Tournaments)". www.game-ai-forum.org. Retrieved 2016-06-02.
  11. "Renju Computer World Championship". www.5stone.net. Retrieved 2016-06-02.
  12. "4-th World Championship among Computer programs". Nosovsky Japanese Games Home Page. Retrieved 2016-06-03.
  13. "Gomocup - The Gomoku AI Tournament". Gomocup. Retrieved 2016-06-02.
  14. "Hungarian Computer Gomoku Tournament 2005 | GomokuWorld.com". gomokuworld.com. Retrieved 2016-06-02.
  15. "2nd Hungarian Computer Go-Moku Open Tournament". sze.hu. Retrieved 2016-06-03.
  16. "The 1st tournament AI vs. Human (November the 11th, 2006) | Gomocup". gomocup.org. Retrieved 2016-06-02.
  17. "AI vs. Člověk 2011 | Česká federace piškvorek a renju". www.piskvorky.cz. Retrieved 2016-06-02.
  18. "Rudolf Dupszki versus Yixin". AIEXP.
  19. "Rudolf Dupszki vs. Yixin 2017". Facebook.

Further reading

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.