PREVIEW: Oh no! This hedgehog has gotten trapped in an underground maze! Let's write some programs to help it navigate its way to the goal and then back above ground.

A program is an ordered series of steps we give to a computer.

  • Watch the program run and move the hedgehog to the end of the maze.
  • When you're finished, click Submit and Next to move on.

To navigate the page using the TAB key, first press ESC to exit the code editor.

  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)