Skip to content

Commit 5053d0c

Browse files
authored
Merge pull request #85 from codingthat/sync-darts
Sync `darts` docs and metadata
2 parents cb0fc81 + 08dc998 commit 5053d0c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

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

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

3-
Write a function that returns the earned points in a single toss of a Darts game.
3+
Calculate the points scored in a single toss of a Darts game.
44

55
[Darts][darts] is a game where players throw darts at a [target][darts-target].
66

@@ -16,7 +16,7 @@ In our particular instance of the game, the target rewards 4 different amounts o
1616
The outer circle has a radius of 10 units (this is equivalent to the total radius for the entire target), the middle circle a radius of 5 units, and the inner circle a radius of 1.
1717
Of course, they are all centered at the same point — that is, the circles are [concentric][] defined by the coordinates (0, 0).
1818

19-
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.
19+
Given a point in the target (defined by its [Cartesian coordinates][cartesian-coordinates] `x` and `y`, where `x` and `y` are [real][real-numbers]), calculate the correct score earned by a dart landing at that point.
2020

2121
## Credit
2222

exercises/practice/darts/.meta/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
".meta/example.gd"
1414
]
1515
},
16-
"blurb": "Write a function that returns the earned points in a single toss of a Darts game.",
16+
"blurb": "Calculate the points scored in a single toss of a Darts game.",
1717
"source": "Inspired by an exercise created by a professor Della Paolera in Argentina"
1818
}

0 commit comments

Comments
 (0)