Skip to content

Commit 6ff3945

Browse files
authored
Merge branch 'exercism:main' into fft
2 parents 4a95c07 + 2b6e74f commit 6ff3945

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

exercises/concept/tisbury-treasure-hunt/.docs/instructions.md

+19-19
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ They've also been given blank maps with a starting place marked YOU ARE HERE.
2828

2929
| Location Name | Coordinates | Quadrant |
3030
| ------------------------------------- | ----------- | --------- |
31-
| Seaside Cottages | (1, 'C') | Blue |
32-
| Aqua Lagoon (Island of Mystery) | (1, 'F') | Yellow |
33-
| Deserted Docks | (2, 'A') | Blue |
34-
| Spiky Rocks | (3, 'D') | Yellow |
35-
| Abandoned Lighthouse | (4, 'B') | Blue |
36-
| Hidden Spring (Island of Mystery) | (4, 'E') | Yellow |
37-
| Stormy Breakwater | (5, 'B') | Purple |
38-
| Old Schooner | (6, 'A') | Purple |
39-
| Tangled Seaweed Patch | (6, 'D') | Orange |
40-
| Quiet Inlet (Island of Mystery) | (7, 'E') | Orange |
41-
| Windswept Hilltop (Island of Mystery) | (7, 'F') | Orange |
42-
| Harbor Managers Office | (8, 'A') | Purple |
43-
| Foggy Seacave | (8, 'C') | Purple |
31+
| Seaside Cottages | ('1', 'C') | Blue |
32+
| Aqua Lagoon (Island of Mystery) | ('1', 'F') | Yellow |
33+
| Deserted Docks | ('2', 'A') | Blue |
34+
| Spiky Rocks | ('3', 'D') | Yellow |
35+
| Abandoned Lighthouse | ('4', 'B') | Blue |
36+
| Hidden Spring (Island of Mystery) | ('4', 'E') | Yellow |
37+
| Stormy Breakwater | ('5', 'B') | Purple |
38+
| Old Schooner | ('6', 'A') | Purple |
39+
| Tangled Seaweed Patch | ('6', 'D') | Orange |
40+
| Quiet Inlet (Island of Mystery) | ('7', 'E') | Orange |
41+
| Windswept Hilltop (Island of Mystery) | ('7', 'F') | Orange |
42+
| Harbor Managers Office | ('8', 'A') | Purple |
43+
| Foggy Seacave | ('8', 'C') | Purple |
4444

4545
</td></tr>
4646
</table>
@@ -59,7 +59,7 @@ julia> get_cooordinate( ("Scrimshaw Whale's Tooth", "2A") )
5959

6060
## 2. Format coordinates
6161

62-
Implement the `convert_coordinate()` function that takes a coordinate in the format "2A" and returns a tuple in the format `(2, 'A')`.
62+
Implement the `convert_coordinate()` function that takes a coordinate in the format "2A" and returns a tuple in the format `('2', 'A')`.
6363

6464
```julia-repl
6565
julia> convert_coordinate("2A")
@@ -73,10 +73,10 @@ Return **`true`** if the coordinates "match", and return **`false`** if they do
7373
Re-format coordinates as needed for accurate comparison.
7474

7575
```julia-repl
76-
julia> compare_records("Brass Spyglass", "4B"), ("Seaside Cottages", (1, 'C'), "blue")
76+
julia> compare_records("Brass Spyglass", "4B"), ("Seaside Cottages", ('1', 'C'), "blue")
7777
false
7878
79-
julia> compare_records("Model Ship in Large Bottle", "8A"), ("Harbor Managers Office", (8, 'A'), "purple")
79+
julia> compare_records("Model Ship in Large Bottle", "8A"), ("Harbor Managers Office", ('8', 'A'), "purple")
8080
true
8181
```
8282

@@ -88,9 +88,9 @@ If the coordinates _do not_ match, return an empty tuple.
8888
Re-format coordinates as needed for accurate comparison.
8989

9090
```julia-repl
91-
julia> create_record("Brass Spyglass", "4B"), ("Abandoned Lighthouse", (4, 'B'), "Blue")
91+
julia> create_record("Brass Spyglass", "4B"), ("Abandoned Lighthouse", ('4', 'B'), "Blue")
9292
("4B", "Abandoned Lighthouse", "Blue", "Brass Spyglass")
9393
94-
julia> create_record("Brass Spyglass", "4B"), ("Seaside Cottages", (1, 'C'), "Blue")
94+
julia> create_record("Brass Spyglass", "4B"), ("Seaside Cottages", ('1', 'C'), "Blue")
9595
()
96-
```
96+
```

0 commit comments

Comments
 (0)