Today: a five line program.
The if sits in the middle.
Trace what runs. Trace what skips!
Two moves come first.
Then the check, then maybe a turn.
Stop always ends it.
The moves always run.
The stop always runs.
Only the then-line changes!
Wall day: glide, glide, turn, stop.
Open day: glide, glide, stop.
Same lines, two trips!
move right move right if wall, then turn around stop
Now a six line build!
Climb first, check at the top.
You are ready.
| line | runs with no wall? |
|---|---|
| move right | ? |
| if wall, | ? |
| then turn around | ? |
| stop | ? |
Here are new sight words.
Look at each word. Say it. Spell it.
Different: D-I-F-F-E-R-E-N-T.
Home: H-O-M-E.
The check always runs.
The then waits for true.
You traced both trips!