From c22bca9b4287c25f56e088fa7473825f438ce126 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 15 Mar 2026 00:16:29 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Auto-sync=20docs,=20metadata,=20?= =?UTF-8?q?and=20filepaths?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exercises/practice/prism/.docs/instructions.md | 4 +++- exercises/practice/prism/.meta/config.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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" }