Skip to content

Commit 3386a89

Browse files
authored
Synced problem descriptions to problem specs. (#3499)
1 parent c0c2f67 commit 3386a89

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

exercises/practice/darts/.docs/instructions.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Write a function that returns the earned points in a single toss of a Darts game
66

77
In our particular instance of the game, the target rewards 4 different amounts of points, depending on where the dart lands:
88

9+
![Our dart scoreboard with values from a complete miss to a bullseye](https://assets.exercism.org/images/exercises/darts/darts-scoreboard.svg)
10+
911
- If the dart lands outside the target, player earns no points (0 points).
1012
- If the dart lands in the outer circle of the target, player earns 1 point.
1113
- If the dart lands in the middle circle of the target, player earns 5 points.
@@ -16,8 +18,14 @@ Of course, they are all centered at the same point — that is, the circles are
1618

1719
Write a function that given a point in the target (defined by its [Cartesian coordinates][cartesian-coordinates] `x` and `y`, where `x` and `y` are [real][real-numbers]), returns the correct amount earned by a dart landing at that point.
1820

21+
## Credit
22+
23+
The scoreboard image was created by [habere-et-dispertire][habere-et-dispertire] using [Inkscape][inkscape].
24+
1925
[darts]: https://en.wikipedia.org/wiki/Darts
2026
[darts-target]: https://en.wikipedia.org/wiki/Darts#/media/File:Darts_in_a_dartboard.jpg
2127
[concentric]: https://mathworld.wolfram.com/ConcentricCircles.html
2228
[cartesian-coordinates]: https://www.mathsisfun.com/data/cartesian-coordinates.html
2329
[real-numbers]: https://www.mathsisfun.com/numbers/real-numbers.html
30+
[habere-et-dispertire]: https://exercism.org/profiles/habere-et-dispertire
31+
[inkscape]: https://en.wikipedia.org/wiki/Inkscape

exercises/practice/perfect-numbers/.docs/instructions.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Instructions
22

3-
Determine if a number is perfect, abundant, or deficient based on
4-
Nicomachus' (60 - 120 CE) classification scheme for positive integers.
3+
Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for positive integers.
54

65
The Greek mathematician [Nicomachus][nicomachus] devised a classification scheme for positive integers, identifying each as belonging uniquely to the categories of **perfect**, **abundant**, or **deficient** based on their [aliquot sum][aliquot-sum].
76
The aliquot sum is defined as the sum of the factors of a number not including the number itself.
8-
For example, the aliquot sum of 15 is (1 + 3 + 5) = 9
7+
For example, the aliquot sum of `15` is `1 + 3 + 5 = 9`.
98

109
- **Perfect**: aliquot sum = number
1110
- 6 is a perfect number because (1 + 2 + 3) = 6

exercises/practice/resistor-color-trio/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For this exercise, you need to know only three things about them:
2323
- Grey: 8
2424
- White: 9
2525

26-
In `resistor-color duo` you decoded the first two colors.
26+
In Resistor Color Duo you decoded the first two colors.
2727
For instance: orange-orange got the main value `33`.
2828
The third color stands for how many zeros need to be added to the main value.
2929
The main value plus the zeros gives us a value in ohms.

0 commit comments

Comments
 (0)