Years active | 1942–present |
---|---|
Genres | Board game Abstract strategy game Connection game |
Players | 2 |
Setup time | None |
Playing time | 30 minutes – 2 hours (11×11 board) |
Chance | None |
Skills | Strategy, tactics |
Hex (also called Nash) is a two player abstract strategy board game in which players attempt to connect opposite sides of a rhombus-shaped board made of hexagonal cells. Hex was invented by mathematician and poet Piet Hein in 1942 and later rediscovered and popularized by John Nash.
It is traditionally played on an 11×11 rhombus board, although 13×13 and 19×19 boards are also popular. The board is composed of hexagons called cells or hexes. Each player is assigned a pair of opposite sides of the board, which they must try to connect by alternately placing a stone of their color onto any empty hex. Once placed, the stones are never moved or removed. A player wins when they successfully connect their sides together through a chain of adjacent stones. Draws are impossible in Hex due to the topology of the game board.
Despite the simplicity of its rules, the game has deep strategy and sharp tactics. It also has profound mathematical underpinnings related to the Brouwer fixed-point theorem, matroids and graph connectivity. The game was first published under the name Polygon in the Danish newspaper Politiken on December 26, 1942. It was later marketed as a board game in Denmark under the name Con-tac-tix, and Parker Brothers marketed a version of it in 1952 called Hex; they are no longer in production. Hex can also be played with paper and pencil on hexagonally ruled graph paper.
Hex is a finite, 2-player perfect information game, and an abstract strategy game that belongs to the general category of connection games . [1] It can be classified as a Maker-Breaker game, [1] : 122 a particular type of positional game. Since the game can never end in a draw, [1] : 99 Hex is also a determined game.
Hex is a special case of the "node" version of the Shannon switching game. [1] : 122 Hex can be played as a board game or as a paper-and-pencil game.
Hex is played on a rhombic grid of hexagons, typically of size 11×11, although other sizes are also possible. Each player has an allocated color, conventionally red and blue, or black and white. [2] Each player is also assigned two opposite board edges. The hexagons on each of the four corners belong to both adjacent board edges.
The players take turns placing a stone of their color on a single cell on the board. The most common convention is for Red or Black to go first. Once placed, stones are not moved, replaced, or removed from the board. Each player's goal is to form a connected path of their own stones linking their two board edges. The player who complete such a connection wins the game.
To compensate for the first player's advantage, the swap rule (also called the pie rule) is normally used. This rule allows the second player to choose whether to switch positions with the first player after the first player makes the first move.
When it is clear to both players who will win the game, it is customary, but not required, for the losing player to resign. In practice, most games of Hex end with one of the players resigning.
The game was invented by the Danish mathematician Piet Hein, who introduced it in 1942 at the Niels Bohr Institute. Although Hein later renamed it to Con-tac-tix, [3] [4] it became known in Denmark under the name Polygon due to an article by Hein in the 26 December 1942 edition of the Danish newspaper Politiken, the first published description of the game, in which he used that name.
The game was rediscovered in 1948 or 1949 by the mathematician John Nash at Princeton University. [2] [5] According to Martin Gardner, who featured Hex in his July 1957 Mathematical Games column, Nash's fellow players called the game either Nash or John, with the latter name referring to the fact that the game could be played on hexagonal bathroom tiles. [2] Nash insisted that he discovered the game independently of Hein, but there is some doubt about this, as it is known that there were Danish people, including Aage Bohr, who played Hex at Princeton in the 1940s, so that Nash may have subconsciously picked up the idea. Hein wrote to Gardner in 1957 expressing doubt that Nash discovered Hex independently. Gardner was unable to independently verify or refute Nash's claim. [6] Gardner privately wrote to Hein: "I discussed it with the editor, and we decided that the charitable thing to do was to give Nash the benefit of the doubt. ... The fact that you invented the game before anyone else is undisputed. Any number of people can come along later and say that they thought of the same thing at some later date, but this means little and nobody really cares." [1] : 134 In a later letter to Hein, Gardner also wrote: "Just between you and me, and off the record, I think you hit the nail on the head when you referred to a 'flash of a suggestion' which came to Mr. Nash from a Danish source, and which he later forgot about. It seems the most likely explanation." [1] : 136
Initially in 1942, Hein distributed the game, which was then called Polygon, in the form of 50-sheet game pads. Each sheet contained an empty 11×11 empty board that could be played on with pencils or pens. [1] In 1952, Parker Brothers marketed a version of the game under the name "Hex", and the name stuck. [2] Parker Brothers also sold a version under the "Con-tac-tix" name in 1968. [3] Hex was also issued as one of the games in the 1974 3M Paper Games Series; the game contained a 5+1⁄2-by-8+1⁄2-inch (140 mm × 220 mm) 50-sheet pad of ruled Hex grids. Hex is currently published by Nestorgames in a 11×11 size, a 14×14, and a 19×19 size. [7]
About 1950, Claude Shannon and E. F. Moore constructed an analog Hex playing machine, which was essentially a resistance network with resistors for edges and light bulbs for vertices. [8] The move to be made corresponded to a certain specified saddle point in the network. The machine played a reasonably good game of Hex. Later, researchers attempting to solve the game and develop Hex-playing computer algorithms emulated Shannon's network to create strong computer players. [9]
It was known to Hein in 1942 that Hex cannot end in a draw; in fact, one of his design criteria for the game was that "exactly one of the two players can connect their two sides". [1] : 29
It was also known to Hein that the first player has a theoretical winning strategy. [1] : 42
In 1952 John Nash wrote up an existence proof that on symmetrical boards, the first player has a winning strategy. [1] : 97
In 1964, the mathematician Alfred Lehman showed that Hex cannot be represented as a binary matroid, so a determinate winning strategy like that for the Shannon switching game on a regular rectangular grid was unavailable. [10]
In 1981, the Stefan Reisch showed that Hex is PSPACE-complete. [11]
In 2002, the first explicit winning strategy (a reduction-type strategy) on a 7×7 board was described.
In the 2000s, by using brute force search computer algorithms, Hex boards up to size 9×9 (as of 2016) have been completely solved.
Starting about 2006, the field of computer Hex came to be dominated by Monte Carlo tree search methods borrowed from successful computer implementations of Go. These replaced earlier implementations that combined Shannon's Hex-playing heuristic with alpha-beta search. On the subject of early Computer Hex, notable early implementations include Dolphin Microware's Hexmaster, published in the early 1980s for Atari 8-bit computers. [12]
Until 2019, humans remained better than computers at least on big boards such as 19x19, but on Oct 30, 2019 the program Mootwo won against the human player with the best Elo rank on LittleGolem, also winner of various tournaments (the game is available here). This program was based on Polygames [13] (an open-source project, initially developed by Facebook Artificial Intelligence Research and several universities [14] ) using a mix of: [15]
This section needs expansionwith: general strategy and typical endgames. You can help by adding to it.(November 2023) |
From the proof of a winning strategy for the first player, it is known that the Hex board must have a complex type of connectivity which has never been solved. Play consists of creating small patterns which have a simpler type of connectivity called "safely connected", and joining them into sequences that form a "path". Eventually, one of the players will succeed in forming a safely connected path of stones and spaces between their sides of the board and win. The final stage of the game, if necessary, consists of filling in the empty spaces in the path. [17]
A "safely connected" pattern is composed of stones of the player's color and open spaces which can be joined into a chain, an unbroken sequence of edge-wise adjacent stones, no matter how the opponent plays. [18] One of the simplest such patterns is the bridge, which consists of a diamond of two stones of the same color and two empty spaces, where the two stones do not touch. [19] If the opponent plays in either space, the player plays in the other, creating a contiguous chain. There are also safely connected patterns which connect stones to edges. [20] There are many more safely connected patterns, some quite complex, built up of simpler ones like those shown. Patterns and paths can be disrupted by the opponent before they are complete, so the configuration of the board during an actual game often looks like a patchwork rather than something planned or designed. [17]
There are weaker types of connectivity than "safely connected" which exist between stones or between safely connected patterns which have multiple spaces between them. [21] The middle part of the game consists of creating a network of such weakly connected stones and patterns [21] which hopefully will allow the player, by filling in the weak links, to construct just one safely connected path between sides as the game progresses. [21]
Success at Hex requires a particular ability to visualize synthesis of complex patterns in a heuristic way, and estimating whether such patterns are 'strongly enough' connected to enable an eventual win. [17] The skill is somewhat similar to the visualization of patterns, sequencing of moves, and evaluating of positions in chess. [22]
It is not difficult to convince oneself by exposition, that hex cannot end in a draw, referred to as the "hex theorem". I.e., no matter how the board is filled with stones, there will always be one and only one player who has connected their edges. This fact was known to Piet Hein in 1942, who mentioned it as one of his design criteria for Hex in the original Politiken article. [1] : 29 Hein also stated this fact as "a barrier for your opponent is a connection for you". [1] : 35 John Nash wrote up a proof of this fact around 1949, [23] but apparently did not publish the proof. Its first exposition appears in an in-house technical report in 1952, [24] in which Nash states that "connection and blocking the opponent are equivalent acts". A more rigorous proof was published by John R. Pierce in his 1961 book Symbols, Signals, and Noise. [25] In 1979, David Gale published a proof that the determinacy of Hex is equivalent to the two-dimensional Brouwer fixed-point theorem, and that the determinacy of higher-dimensional n-player variants proves the fixed-point theorem in general. [26]
An informal proof of the no-draw property of Hex can be sketched as follows: consider the connected component of one of the red edges. This component either includes the opposite red edge, in which case Red has a connection, or else it does not, in which case the blue stones along the boundary of the connected component form a winning path for Blue. The concept of a connected component is well-defined because in a hexagonal grid, two cells can only meet in an edge or not at all; it is not possible for cells to overlap in a single point.
In Hex without the swap rule on any board of size nxn, the first player has a theoretical winning strategy. This fact was mentioned by Hein in his notes for a lecture he gave in 1943: "in contrast to most other games, it can be proved that the first player in theory always can win, that is, if she could see to the end of all possible lines of play". [1] : 42
All known proofs of this fact are non-constructive, i.e., the proof gives no indication of what the actual winning strategy is. Here is a condensed version of a proof that is attributed to John Nash c. 1949. [2] The proof works for a number of games including Hex, and has come to be called the strategy-stealing argument.
In 1976, Shimon Even and Robert Tarjan proved that determining whether a position in a game of generalized Hex played on arbitrary graphs is a winning position is PSPACE-complete. [27] A strengthening of this result was proved by Reisch by reducing the quantified Boolean formula problem in conjunctive normal form to Hex. [28] This result means that there is no efficient (polynomial time in board size) algorithm to solve an arbitrary Hex position unless there is an efficient algorithm for all PSPACE problems, which is widely believed not to be the case. [29] However, it doesn't rule out the possibility of a simple winning strategy for the initial position (on boards of arbitrary size), or a simple winning strategy for all positions on a board of a particular size.
In 11×11 Hex, the state space complexity is approximately 2.4×1056; [30] versus 4.6×1046 for chess. [31] The game tree complexity is approximately 1098 [32] versus 10123 for chess. [33]
In 2002, Jing Yang, Simon Liao and Mirek Pawlak found an explicit winning strategy for the first player on Hex boards of size 7×7 using a decomposition method with a set of reusable local patterns. [34] They extended the method to weakly solve the center pair of topologically congruent openings on 8×8 boards in 2002 and the center opening on 9×9 boards in 2003. [35] In 2009, Philip Henderson, Broderick Arneson and Ryan B. Hayward completed the analysis of the 8×8 board with a computer search, solving all the possible openings. [36] In 2013, Jakub Pawlewicz and Ryan B. Hayward solved all openings for 9×9 boards, and one (the most-central) opening move on the 10×10 board. [37] Since Gardner first postulated in his column in Scientific American in 1957, albeit speciously, that any first play on the short diagonal is a winning play, [38] for all solved game boards up to n=9, that has indeed been the case. In addition, for all boards except n=2 and n=4, there have been numerous additional winning first moves; the number of winning first moves generally is ≥ n²/2.
Other connection games with similar objectives but different structures include Shannon switching game (also known as Gale and Bridg-It) and TwixT. Both of these bear some degree of similarity to the ancient Chinese game of Go.
The game may be played on a rectangular grid like a chess, checker or go board, by considering that spaces (intersections in the case of go) are connected in one diagonal direction but not the other. The game may be played with paper and pencil on a rectangular array of dots or graph paper in the same way by using two different colored pencils.
Popular dimensions other than the standard 11×11 are 13×13 and 19×19 as a result of the game's relationship to the older game of Go. According to the book A Beautiful Mind , John Nash (one of the game's inventors) advocated 14×14 as the optimal size.
The misère variant of Hex is called "Rex", in which each player tries to force their opponent to make a chain. Rex is slower than Hex since, on any empty board with equal dimensions, the losing player can delay a loss until the entire board is full. [39] On boards with unequal dimensions, the player whose sides are further apart can win regardless of who plays first. [40] On boards with equal dimensions, the first player can win on a board with an even number of cells per side, and the second player can win on a board with an odd number. [41] [42] On boards with an even number, one of the first player's winning moves is always to place a stone in the acute corner. [39]
Hex had an incarnation as the question board from the television game show Blockbusters . In order to play a "move", contestants had to answer a question correctly. The board had 5 alternating columns of 4 hexagons; the solo player could connect top-to-bottom in 4 moves, while the team of two could connect left-to-right in 5 moves.
The game of Y is Hex played on a triangular grid of hexagons; the object is for either player to connect all three sides of the triangle. Y is a generalization of Hex to the extent that any position on a Hex board can be represented as an equivalent position on a larger Y board.
Havannah is a game based on Hex. [43] It too has a board space composed of hexagonal tiles, however the board is itself in the shape of a large hexagon, and a win is achieved by forming one of three patterns.
Projex is a variation of Hex played on a real projective plane, where the players have the goal of creating a noncontractible loop. [44] Like in Hex, there are no ties, and there is no position in which both players have a winning connection.
Dark Hex (also known as Phantom Hex) is an imperfect information version of Hex. [45] The players are not exposed to each other's stones at any point in the game unless they discover them first. The game is played in the presence of an umpire where each player first verifies the move if its a collision or not. Based on the continuation of this point the game has different versions.
As of 2016, there were over-the-board tournaments reported from Brazil, Czech Republic, Denmark, France, Germany, Italy, Netherlands, Norway, Poland, Portugal, Spain, UK and the US.[ citation needed ] One of the largest Hex competitions is organized by the International Committee of Mathematical Games in Paris, France, which is annually held since 2013.[ citation needed ] Hex is also part of the Computer Olympiad. [46] During this competition the pie rule is used.
Gomoku, also called Five in a Row, is an abstract strategy board game. It is traditionally played with Go pieces on a 15×15 Go board while in the past a 19×19 board was standard. Because pieces are typically not moved or removed from the board, gomoku may also be played as a paper-and-pencil game. The game is known in several countries under different names.
Phutball is a two-player abstract strategy board game described in Elwyn Berlekamp, John Horton Conway, and Richard K. Guy's Winning Ways for your Mathematical Plays.
TacTix is a two-player strategy game invented by Piet Hein, a poet well known for dabbling in math and science, best known for his game Hex.
In computational complexity theory, a decision problem is PSPACE-complete if it can be solved using an amount of memory that is polynomial in the input length and if every other problem that can be solved in polynomial space can be transformed to it in polynomial time. The problems that are PSPACE-complete can be thought of as the hardest problems in PSPACE, the class of decision problems solvable in polynomial space, because a solution to any one such problem could easily be used to solve any other problem in PSPACE.
A solved game is a game whose outcome can be correctly predicted from any position, assuming that both players play perfectly. This concept is usually applied to abstract strategy games, and especially to games with full information and no element of chance; solving such a game may use combinatorial game theory and/or computer assistance.
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.
Y is an abstract strategy board game, first described by John Milnor in the early 1950s. The game was independently invented in 1953 by Craige Schensted and Charles Titus. It is a member of the connection game family inhabited by Hex, Havannah, TwixT, and others; it is also an early member in a long line of games Schensted has developed, each game more complex but also more generalized.
TwixT is a two-player strategy board game, an early entrant in the 1960s 3M bookshelf game series. It became one of the most popular and enduring games in the series. It is a connection game where players alternate turns placing pegs and links on a pegboard in an attempt to link their opposite sides. While TwixT itself is simple, the game also requires strategy, so young children can play it, but it also appeals to adults. The game has been discontinued except in Germany and Japan.
The Shannon switching game is a connection game for two players, invented by American mathematician and electrical engineer Claude Shannon, the "father of information theory", some time before 1951. Two players take turns coloring the edges of an arbitrary graph. One player has the goal of connecting two distinguished vertices by a path of edges of their color. The other player aims to prevent this by using their color instead. The game is commonly played on a rectangular grid; this special case of the game was independently invented by American mathematician David Gale in the late 1950s and is known as Gale or Bridg-It.
Combinatorial game theory measures game complexity in several ways:
DVONN is a two-player strategy board game in which the objective is to accumulate pieces in stacks. It was released in 2001 by Kris Burm as the fourth game in the GIPF Project. DVONN won the 2002 International Gamers Award and the Games magazine Game of the Year Award in 2003.
3D tic-tac-toe, also known by the trade name Qubic, is an abstract strategy board game, generally for two players. It is similar in concept to traditional tic-tac-toe but is played in a cubical array of cells, usually 4×4×4. Players take turns placing their markers in blank cells in the array. The first player to achieve four of their own markers in a row wins. The winning row can be horizontal, vertical, or diagonal on a single board as in regular tic-tac-toe, or vertically in a column, or a diagonal line through four boards.
In combinatorial game theory, the strategy-stealing argument is a general argument that shows, for many two-player games, that the second player cannot have a guaranteed winning strategy. The strategy-stealing argument applies to any symmetric game in which an extra move can never be a disadvantage. A key property of a strategy-stealing argument is that it proves that the first player can win the game without actually constructing such a strategy. So, although it might prove the existence of a winning strategy, the proof gives no information about what that strategy is.
In computational complexity theory, generalized geography is a well-known PSPACE-complete problem.
There are many variations of the simple rules of Go. Some are ancient digressions, while other are modern deviations. They are often side events at tournaments, for example, the U.S. Go Congress holds a "Crazy Go" event every year.
The game of Go is one of the most popular games in the world. As a result of its elegant and simple rules, the game has long been an inspiration for mathematical research. Shen Kuo, an 11th century Chinese scholar, estimated in his Dream Pool Essays that the number of possible board positions is around 10172. In more recent years, research of the game by John H. Conway led to the development of the surreal numbers and contributed to development of combinatorial game theory (with Go Infinitesimals being a specific example of its use in Go).
Agon is a strategy game invented by Anthony Peacock of London, and first published in 1842. It is a two-player game played on a 6×6×6 hexagonal gameboard, and is notable for being the oldest known board game played on a board of hexagonal cells.
A connection game is a type of abstract strategy game in which players attempt to complete a specific type of connection with their pieces. This could involve forming a path between two or more endpoints, completing a closed loop, or connecting all of one's pieces so they are adjacent to each other. Connection games typically have simple rules, but complex strategies. They have minimal components and may be played as board games, computer games, or even paper-and-pencil games.
Hex is a turn-based strategy game developed by Mark of the Unicorn and published in 1985 for the then-new Atari ST and later for the Amiga. The player controls a unicorn that is trying to turn all the hexes on the game board to the same colour. Opponents attempt to turn them to a different colour and thus defeat the unicorn. As the unicorn levels up, new spells are added to its repertoire, but only 5 can be used at any given time.
{{cite web}}
: CS1 maint: bot: original URL status unknown (link)