Tutorial

Brief Introduction

PiE (Programming in Eliza/English) is a tool that helps beginners to learn how to program. By interacting in Natural Language, currently we only can handle English, user can manipulate the "Turtle" (which is represented as an triangle in this design) on the canvas. The turtle will leave the trace wherever it goes and these traces will be a beautiful pattern.

Get in a dialogue with PiE

First Try

Move the turtle

Attributes can be modified

Basics in Programming

  Let's define a function called Square
    Repeat the following commands for 4 times
        Go forward 100 Steps        
        Turn left 90 degrees
    End the Repeat
  End the function
  Then Clear the screen
  Call the function square
  • To experience the benefit from Function, you can go on with
  •   Turn right 60 degrees
      Again, Call the function square 
    

    Write in Scripts

    Use a red pen
    Let the pen be bolder
    Repeat the following commands for 4 times
      Go forward 100 Steps
      Turn left 90 degrees
    End the Repeat
    
    Use a red pen
    Let the pen be bolder
    Repeat the following commands for 36 times
      Repeat the following commands for 4 times
        Go forward 100 Steps
        Turn left 90 degrees
        End the first Repeat
      Turn left 10 degrees
    End the second repeat
    

    Try More

    Till Now, you are good with basics in programming and You can handle most cases in LOGO to draw any graphs. Don't believe it? Try the Examples!