Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Corgi)

Programming with Karel

Students learn the basics of programming by giving Karel the Dog commands in a grid world.

Lessons

1.1 Introduction to Programming With Karel

  • Introduction to Programming With Karel
  • Karel Commands Quiz
  • Our First Karel Program
  • Your First Karel Program
  • Short Stack

1.2 More About Karel

  • More About Karel
  • More Basic Karel Quiz
  • Tennis Ball Square
  • Make a Tower
  • Pyramid of Karel

1.3 Karel Can't Turn Right

  • Karel Can't Turn Right
  • Karel Can't Turn Right Quiz
  • Tower and Turn Right
  • Slide Karel
  • Fireman Karel
  • +1 more

1.4 Functions in Karel

  • Functions in Karel
  • Functions in Karel Quiz
  • Turn Around
  • Pancakes
  • Mario Karel

1.5 The Main Function

  • The Main Function
  • The Main Function Quiz
  • Tower with Main Function
  • Pancakes with Main

1.6 Top Down Design and Decomposition in Karel

  • Top Down Design and Decomposition
  • Top Down Design and Decomposition Quiz
  • Top Down Design and Decomposition in Karel
  • Hurdle Karel
  • The Two Towers

1.7 Commenting Your Code

  • Commenting Your Code
  • Commenting Your Code Quiz
  • Hurdle Karel
  • The Two Towers + Comments

1.8 Super Karel

  • Super Karel
  • Super Karel Quiz
  • Hurdle Karel (with Super Karel)
  • The Two Towers + Super Karel
  • Super Karel Badge

1.9 For Loops

  • For Loops
  • For Loops Quiz
  • Repeated Move
  • Put Down Tennis Balls
  • Take 'em All
  • +3 more

1.10 If Statements and Conditionals

  • If Statements and Conditionals
  • If Statements and Conditionals Quiz
  • If Statements and Conditionals
  • Safe Take Ball
  • Is There a Ball?
  • +1 more

1.11 If/Else Statements

  • If/Else Statements
  • If/Else Statements Quiz
  • If/Else Statements
  • Opposite Day
  • Right Side Up
  • +2 more

1.12 While Loops

  • While Loops
  • While Loops Quiz
  • Move to Wall
  • Follow The Yellow Ball Road
  • Lay Row of Tennis Balls
  • +1 more

1.13 How to Indent Your Code

  • How to Indent Your Code
  • How to Indent Your Code Quiz
  • Dance and Clean Karel
  • Diagonal
  • Staircase
  • +1 more

1.14 Control Structures Example

  • Control Structures Example
  • Control Structures Example Quiz
  • Cleanup Karel
  • Random Hurdles

1.15 More Karel Examples and Testing

  • More Karel Examples and Testing
  • Move Tennis Ball Stack
  • Live Coding: Climbing Karel
  • Climbing Karel
  • Quiz: Which Control Structure?
  • +1 more

1.16 Programming with Karel Quiz

  • Programming with Karel Quiz