From 3b90ffc54ea62dfd5345abbeafe6aa30b98c9c5d Mon Sep 17 00:00:00 2001 From: Ty Tremblay Date: Mon, 3 Aug 2026 19:15:11 -0400 Subject: [PATCH] Fix un-runnable snippet on the "Meet the robot" lesson The site makes only the first ```java fence per page the runnable snippet. On page 1 of algorithms-robot-api that was an illustrative two-liner referencing an out-of-scope `grid` and no imports, so pressing Run produced "cannot find symbol" errors for Maze/GridMaze/ Robot/grid instead of the intended full MeetTheRobot example. Mark the illustrative fragment as ```text so the complete, importing MeetTheRobot class becomes the page's runnable snippet. Co-Authored-By: Claude Opus 4.8 --- lessons/algorithms-robot-api/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/algorithms-robot-api/README.md b/lessons/algorithms-robot-api/README.md index a140e33..c634a9c 100644 --- a/lessons/algorithms-robot-api/README.md +++ b/lessons/algorithms-robot-api/README.md @@ -12,7 +12,7 @@ decode those numbers by hand. This is where that promise pays off. We hand the grid to a small **library** (a bundle of ready-made code someone else wrote for you), and it gives back two friendly objects: -```java +```text Maze maze = new GridMaze(grid); // turn the raw grid into a maze Robot robot = maze.robot(); // a robot standing on the start cell ```