08 · Robot Golf
Can you reach the target in the fewest moves?
For real robot moves in Snap, ask your workshop leader to check the block values first. Use the Remote on card 02 for measured distances and turns.
Try it step by step
- Step 1 of 4
Warm up: try Neon Golf
Use the angle arrows and distance buttons to aim, then press ▶ to launch. Predict where the character will stop. Adjust your aim and try to reach the hole in one attempt. This game stays on screen and does not move your robot. After the warm-up, make your own real course!
/apps/code/NEON_GOLF.html
- Step 2 of 4
Set up the course
Tape several paper targets flat to the floor around the room. Leave clear space between them and make each target large enough for your robot. Choose their order and place the robot on the first target.

- Step 3 of 4
Plan your shot
Choose the next target. Measure the distance with a ruler or measuring tape and plan the turn with a protractor. Write your commands on paper before building them in Snap. Aim for a hole in one: reach the next target in a single planned attempt.

- Step 4 of 4
Play from target to target
Run your program in Snap below. If you miss, leave the robot where it stopped, adjust your turn or distance and keep going until it reaches the target. Count your attempts. That target becomes your starting point for the next one. Can you finish the course with fewer attempts?

/apps/ebrain/code/snap/snap.html · /library/projects/ebrainblocks.xml
