You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CON-TAC-TIX is quite simple in rules, though complex in practice. Two players
8
-
place stones on a parallelogram with hexagonal fields. The player to connect his/her
9
-
stones to the opposite side first wins. The four sides of the parallelogram are
10
-
divided between the two players (i.e. one player gets assigned a side and the
11
-
side directly opposite it and the other player gets assigned the two other
12
-
sides).
5
+
The abstract boardgame known as [Hex][hex] / Polygon / CON-TAC-TIX is quite simple in rules, though complex in practice.
6
+
Two players place stones on a parallelogram with hexagonal fields.
7
+
The player to connect his/her stones to the opposite side first wins.
8
+
The four sides of the parallelogram are divided between the two players (i.e. one player gets assigned a side and the side directly opposite it and the other player gets assigned the two other sides).
13
9
14
-
Your goal is to build a program that given a simple representation of a board
15
-
computes the winner (or lack thereof). Note that all games need not be "fair".
16
-
(For example, players may have mismatched piece counts or the game's board might
17
-
have a different width and height.)
10
+
Your goal is to build a program that given a simple representation of a board computes the winner (or lack thereof).
11
+
Note that all games need not be "fair".
12
+
(For example, players may have mismatched piece counts or the game's board might have a different width and height.)
18
13
19
14
The boards look like this:
20
15
@@ -26,6 +21,7 @@ The boards look like this:
26
21
X O O O X
27
22
```
28
23
29
-
"Player `O`" plays from top to bottom, "Player `X`" plays from left to right. In
30
-
the above example `O` has made a connection from left to right but nobody has
31
-
won since `O` didn't connect top and bottom.
24
+
"Player `O`" plays from top to bottom, "Player `X`" plays from left to right.
25
+
In the above example `O` has made a connection from left to right but nobody has won since `O` didn't connect top and bottom.
0 commit comments