Tutorial 1: Meet Bearcu

Learning Goal: Sequential Commands

In this tutorial, you'll learn how to write commands in sequence. Each line of code runs one after another, from top to bottom.

Bearcu understands the bearcu.move_forward() command. Every time you call it, Bearcu moves one step in the direction they're facing.

Tutorial 1: Meet Bearcu

Welcome to your first Bearcu adventure! Your goal is to move Bearcu to the star. Bearcu is currently facing east (right). Use the move_forward() command to move one step at a time. Try running the code to see what happens, then add more commands to reach the goal!

Initializing Python environment...

Loading grid...

What You Learned

  • Python runs commands in order, from top to bottom
  • You can call the same function multiple times
  • Each command must be on its own line