diff --git a/exercises/practice/prism/.docs/instructions.md b/exercises/practice/prism/.docs/instructions.md index a68c80def..13cefae8c 100644 --- a/exercises/practice/prism/.docs/instructions.md +++ b/exercises/practice/prism/.docs/instructions.md @@ -10,9 +10,9 @@ Consider this crystal array configuration: { "start": { "x": 0, "y": 0, "angle": 0 }, "prisms": [ - { "id": 3, "x": 30, "y": 10, "angle": 45 }, { "id": 1, "x": 10, "y": 10, "angle": -90 }, { "id": 2, "x": 10, "y": 0, "angle": 90 }, + { "id": 3, "x": 30, "y": 10, "angle": 45 }, { "id": 4, "x": 20, "y": 0, "angle": 0 } ] } @@ -34,3 +34,5 @@ The beam was traveling at 90°, so after refraction it's now at 0° (90° + (-90 **Step 3**: From position `(10, 10)`, the beam travels horizontally and encounters **Crystal #3** at position `(30, 10)`. This crystal refracts the beam by 45°, changing its direction to 45°. The beam continues into empty space beyond the array. + +!["A graph showing the path of a laser beam refracted through three prisms."](https://assets.exercism.org/images/exercises/prism/laser_path-light.svg) diff --git a/exercises/practice/prism/.meta/config.json b/exercises/practice/prism/.meta/config.json index b07401c69..ce1d449ac 100644 --- a/exercises/practice/prism/.meta/config.json +++ b/exercises/practice/prism/.meta/config.json @@ -13,7 +13,7 @@ ".meta/proof.ci.ts" ] }, - "blurb": "Calculate the path of a laser through reflective prisms.", + "blurb": "Calculate the path of a laser through refractive prisms.", "custom": { "version.tests.compatibility": "jest-29", "flag.tests.task-per-describe": false, @@ -21,7 +21,7 @@ "flag.tests.includes-optional": false, "flag.tests.jest": true, "flag.tests.tstyche": false - }, + } "source": "FraSanga", "source_url": "https://github.com/exercism/problem-specifications/pull/2625" }