Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

Commit

Permalink
connect: Replaced rhombus with parallelogram
Browse files Browse the repository at this point in the history
Replaced "rhombus" with "parallelogram" to clarify that the game's board height and width must not be the same. Closes exercism#1597
  • Loading branch information
made-by-traxam authored Oct 6, 2019
1 parent 3623d97 commit 1a1052f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions exercises/connect/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ Compute the result for a game of Hex / Polygon.
The abstract boardgame known as
[Hex](https://en.wikipedia.org/wiki/Hex_%28board_game%29) / Polygon /
CON-TAC-TIX is quite simple in rules, though complex in practice. Two players
place stones on a rhombus with hexagonal fields. The player to connect his/her
stones to the opposite side first wins. The four sides of the rhombus are
place stones on a parallelogram with hexagonal fields. The player to connect his/her
stones to the opposite side first wins. 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).

Your goal is to build a program that given a simple representation of a board
computes the winner (or lack thereof). Note that all games need not be "fair".
(For example, players may have mismatched piece counts.)
(For example, players may have mismatched piece counts or the game's board might
have a different width and height.)

The boards look like this:

Expand Down

0 comments on commit 1a1052f

Please sign in to comment.