Skip to content

Commit 1d7cba7

Browse files
committed
improve wording
1 parent da82365 commit 1d7cba7

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed
Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
# Instructions
22

3-
You get part of the information and need to fills in the blanks.
4-
In case the data is insufficient or contradictory the user needs to be notified of the issue.
3+
Given partial information about a jigsaw puzzle, complete the remaining details.
4+
5+
If the information is insufficient to complete the details, or if it contains contradictions, the user should be notified.
6+
57
The full information about the jigsaw puzzle contains the following parts:
68

7-
- `pieces`: Number of pieces
9+
- `pieces`: Total number of pieces
810
- `border`: Number of border pieces
911
- `inside`: Number of inside pieces
10-
- `rows`: Number of rows of pieces
11-
- `columns`: Number of columns of pieces
12-
- `aspectRatio`: Aspect ratio of columns / rows
12+
- `rows`: Number of rows
13+
- `columns`: Number of columns
14+
- `aspectRatio`: Aspect ratio of columns to rows
1315
- `format`: Puzzle format, which can be `portrait`, `square`, or `landscape`
1416

1517
For the sake of the exercise, you may assume square pieces, so that the format can be derived from the aspect ratio.
18+
1619
If it is lower than one, it is portrait, if exactly one, it is square and larger than one is landscape.

0 commit comments

Comments
 (0)