Skip to content

Commit

Permalink
split overly long sentence in instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tasxatzial committed Dec 6, 2024
1 parent 5b6ca48 commit d4f063e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exercises/dominoes/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

Make a chain of dominoes.

Compute a way to order a given set of dominoes in such a way that they form a correct domino chain (the dots on one half of a stone match the dots on the neighboring half of an adjacent stone) and that dots on the halves of the stones which don't have a neighbor (the first and last stone) match each other.
Compute a way to order a given set of domino stones so that they form a correct domino chain.
In the chain, the dots on one half of a stone must match the dots on the neighboring half of an adjacent stone.
Additionally, the dots on the halves of the stones without neighbors (the first and last stone) must match each other.

For example given the stones `[2|1]`, `[2|3]` and `[1|3]` you should compute something
like `[1|2] [2|3] [3|1]` or `[3|2] [2|1] [1|3]` or `[1|3] [3|2] [2|1]` etc, where the first and last numbers are the same.
Expand Down

0 comments on commit d4f063e

Please sign in to comment.