Teacher's Guide

Chapter 1 / Level 1: Starting Out

Teaching Objective:

  • Student must familiarize themselves with how the code editor operates
  • Learn to write code: player.move_forward()
  • Learn to run code by pressing Run Code Button

Guide

This exercise will have the student run their first line of code in the code editor and run it. The objective is for the character on screen to reach the star at the bottom of the level. To achieve the student must write the line: player.move_forward() to advance a single step forward, line must be written until player reaches the star. To run the code written in the editor player must press the green Run Code button located on top of the code editor.

Run Code

Map overview and path

Map overview and path

Code Solution

import player

player.move_forward()
player.move_forward()
player.move_forward()
Chapter 1 / Level 1: Starting Out | Teacher's Guide