From 0f682acda05b36ef44e9974633f0177403386499 Mon Sep 17 00:00:00 2001 From: "Kevin J. Sung" Date: Mon, 17 May 2021 17:53:24 -0400 Subject: [PATCH] add description of game rules to readme --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 15a47c3..345cd24 100644 --- a/README.md +++ b/README.md @@ -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.