Coding Basics Course

Exercise 2: If Green Go! If Red Stop!

Now that you have an idea about what conditionals are, it's time to put your knowledge to the test!
Instructions:

  1. Click on the green flag
  2. Click play
  3. Press 1 to stop (red), 2 to go slow
    (yellow), and 3 to go fast (green)
  4. Think: How did this game use conditionals?
  5. When it's game over,
    click the right navigation arrow!