Difference between revisions of "Rules"

From HexWiki
Jump to: navigation, search
m (Minor stylistic changes.)
(Now that edges are colored, we no longer need to explain this)
Line 11: Line 11:
 
Hex is played by two players, who take turns placing pieces on the board. The players have different colours, say red and blue. (The players themselves are sometimes referred to as [[Red (player)|Red]] and [[Blue (player)|Blue]]) The four [[Edge|edges]] of the board are coloured with the same colours, in such a way that parallel edges have the same colour. Red wins if he can build a continuous chain between the two red edges, and blue wins if he can build such a chain between the blue edges.
 
Hex is played by two players, who take turns placing pieces on the board. The players have different colours, say red and blue. (The players themselves are sometimes referred to as [[Red (player)|Red]] and [[Blue (player)|Blue]]) The four [[Edge|edges]] of the board are coloured with the same colours, in such a way that parallel edges have the same colour. Red wins if he can build a continuous chain between the two red edges, and blue wins if he can build such a chain between the blue edges.
  
On HexWiki, the convention is that the top and bottom edges are coloured red, and the left and right edges are coloured blue.  This means that the red player is trying to form a vertical chain, while the blue player is trying to form a horizontal chain.
+
Here is an example of a win by Red:
 
+
Example: the following diagram shows a game after the first three moves.
+
 
+
<hex>
+
R5 C5 Q1 B:on
+
N:on c3 b5 d4
+
</hex>
+
 
+
The next diagram shows the rest of the game.
+
  
 
<hex>
 
<hex>
Line 26: Line 17:
 
Rc3 Bb5 Rd4 N:on c4 d3 d5 c5 c2 d2 d1 e1
 
Rc3 Bb5 Rd4 N:on c4 d3 d5 c5 c2 d2 d1 e1
 
</hex>
 
</hex>
 
Red has won this game, since he has built a connection from the top to the bottom.
 
  
 
== The [[swap rule]] ==
 
== The [[swap rule]] ==

Revision as of 04:48, 21 March 2017

Shape of the board

The Hex board is composed of hexagons, arranged in an n × n rhombus, where n is an integer greater than one. Thus Hex can be played on boards of different sizes, and which size is considered standard varies. Piet Hein used a board of size 11, while John Nash settled on size 14. Nowadays people usually use the sizes that are available on game sites on the Internet offering Hex. Games.wtanaka.com uses sizes 11, 14 and 19; Little Golem offers the sizes 13 and 19. (See the article Board size for more.)

It is also possible to play on boards of size m × n where m and n are distinct integers, but in this case a winning strategy is known for the player with shortest distance between his sides.

This is how a typical Hex board looks:

Playing the game

Hex is played by two players, who take turns placing pieces on the board. The players have different colours, say red and blue. (The players themselves are sometimes referred to as Red and Blue) The four edges of the board are coloured with the same colours, in such a way that parallel edges have the same colour. Red wins if he can build a continuous chain between the two red edges, and blue wins if he can build such a chain between the blue edges.

Here is an example of a win by Red:

abcde12345
WARNING: Invalid cell name: :on

The swap rule

The above rules give a strong advantage to the first player. Because of this, the swap rule was introduced. The swap rule is also called the "Pie rule", since it resembles the You cut, I choose rule when sharing a pie between two children. Suppose that Red is to make the first move. Then the first player places a Red piece on the board, in any cell he likes. After that, the second player decides who will play Red and who will play Blue. Then whoever was decided to be blue makes the next move, and the game continues normally.

Beyond the rules

For more information on how best to utilize the rules, see Strategy.