View All Materials

Lesson:

Avoid the Ghosts

In this coding challenge, students will work together to clear the board and avoid getting tagged by the Ghost Team!

Downloads & Resources

  • Subjects
  • Coding
  • Social Emotional Learning
  • Duration
  • 30-60 minutes
  • Compatible Robots
  • Root rt1 Coding Robot
  • Group Size
  • Full Classroom (20+)
  • Experience Level
  • Grades 1-3
  • Grades 3-5
  • Grades 6-9
  • Things You'll Need
  • Markers
  • Magnetic Whiteboard
  • iRobot Coding platform

With the Class

  1. Divide your class into two teams: the “cleaners” and the “ghosts.”
    1. The cleaner team’s goal is to clear the board of all the dots before they are tagged (and subsequently frozen) by a ghost.
    2. The ghost team’s goal is to chase and tag the cleaners before they are able to clear all of the dots.
  2. Allow your students to remotely connect to the robots on the board.
    1. If you have more students than robots, students can take turns connecting and disconnecting with the Roots, all remotely, in between rounds.
  3. Challenge students on the “cleaner team” to work together to code their Root Robots to wipe the entire board clear of all the dots using their robot erasers.
    1. TIP: You can find the Eraser Code Block by editing the Marker Block
    2. Make sure to give the cleaner team a 30 second head start ahead of the ghost team!
  4. Challenge students on the “ghost team” to work together to chase down and tag/“freeze” the robots on the cleaner team before all the dots have disappeared.
    1. When a ghost robot bumps into a cleaner robot, it qualifies as a tag/freeze.
    2. Once tagged/”frozen”, the cleaner robot is either kicked off of the board or needs to stay still for 30 seconds.
  5. Play multiple rounds with your classroom! Which team will emerge victorious?!
Educational Standards

CSTA K-12 CS Standards

1A-AP-08

Model daily processes by creating and following algorithms (sets of step-by-step instructions) to complete tasks.

1A-AP-09

Model the way programs store and manipulate data by using numbers or other symbols to represent information.

1A-AP-10

Develop programs with sequences and simple loops, to express ideas or address a problem.

1A-AP-11

Decompose (break down) the steps needed to solve a problem into a precise sequence of instructions.

1A-AP-14

Debug (identify and fix) errors in an algorithm or program that includes sequences and simple loops.

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-15

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

1B-AP-16

Take on varying roles, with teacher guidance, when collaborating with peers during the design, implementation, and review stages of program development.

2-AP-15

Seek and incorporate feedback from team members and users to refine a solution that meets user needs.

Next Generation Science Standards

3-5--ETS1-1

Define a simple design problem reflecting a need or a want that includes specified criteria for success and constraints on materials, time, or cost.

3-5--ETS1-2

Generate and compare multiple possible solutions to a problem based on how well each is likely to meet the criteria and constraints of the problem.

MS-ETS1-1

Define the criteria and constraints of a design problem with sufficient precision to ensure a successful solution, taking into account relevant scientific principles and potential impacts on people and the natural environment that may limit possible solutions.

MS-ETS1-2

Evaluate competing design solutions using a systematic process to determine how well they meet the criteria and constraints of the problem.