| 123456789101112131415161718 |
- /**
- Ninjas are introduced to the concept of functions by verbally instructing a
- "Sensei Robot" that can only perform 8 simple operations.
- Sensei Notes
- * In this activity, the Sensei will be at the board with a marker and the ninja
- will instruct the Sensei how to draw the ninja image.
- * If the Ninja asks you do perform an action that is not one of the 8 listed,
- then respond with "I do not know what that means."
- * If the Ninja uses a command, perform exactly what they ask. If they say
- "move up" but don't specify how long, then move up forever.
- * The goal is to provide a visual "anchor" for how a programmer interacts with a
- computer. You should be able to reference this activity in the future when you
- need to explain why code is behaving a certain way. For example, if a Ninja codes
- to move left when the left arrow is pressed but they leave out the negative sign,
- the computer is doing exactly what is told to do. The Ninja must alter the
- instructions to correct the computer's output.
- */
|