View All Materials

Lesson:

Fireplace Variables

Use variables to code Root to glow and flicker different colors like a flame in a fireplace.

  • Subjects
  • Coding
  • Duration
  • 10-15 minutes
  • Compatible Robots
  • Root SimBot
  • Root rt0 Coding Robot
  • Root rt1 Coding Robot
  • Group Size
  • Individual
  • Small Groups (2-4)
  • Experience Level
  • Grades 3-5
  • Grades 6-9
  • Things You'll Need
  • iRobot Coding platform
Educational Standards

CSTA K-12 CS Standards

1B-AP-10

Create programs that include sequences, events, loops, and conditionals.

1B-AP-11

Decompose (break down) problems into smaller, manageable subproblems to facilitate the program development process.

1B-AP-12

Modify, remix, or incorporate portions of an existing program into one's own work, to develop something new or add more advanced features.

1B-AP-15

Test and debug (identify and fix errors) a program or algorithm to ensure it runs as intended.

2-AP-11

Create clearly named variables that represent different data types and perform operations on their values.