Skip to content

Commit

Permalink
add description of game rules to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed May 17, 2021
1 parent 0395d40 commit 0f682ac
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,17 @@ Download a .exe file from [Releases](https://github.com/kevinsung/hexp2p/release
### Mac OS

Download a .dmg file from [Releases](https://github.com/kevinsung/hexp2p/releases).

## Rules of Hex

The players (Black and White) take turns selecting a hexagon to fill with their color.
A player wins when they have built a solid chain between the two edges of their color.
The screenshot at the top of this page demonstrates a winning configuration for Black.

### The swap rule

Normally, the game is played using the swap rule in order to mitigate the advantage of
playing first. Under the swap rule, Black makes the first move, and then White chooses
whether or not to swap pieces with Black. If White chooses to swap pieces, then Black's
move is replaced with the equivalent White move, and then it is Black's turn. Play then
continues as normal.

0 comments on commit 0f682ac

Please sign in to comment.