Rock, Paper, Scissors

Learn how to write code that creates different images based on Code Cube’s™ position.

Grades 3-12 60 min Resource by:

In this lesson, students take another step in creating code that they can wear! The Rock, Paper, Scissors lesson shows students how to make the Code Cube™ display different images based on the position that it’s tilted. After students complete this task, they are challenged to explore how they can apply their learning to ELA, SEL, math, and science activities.

Learning Objectives

  • Learn how to make the Code Cube display different images based on the position that it’s tilted.
  • ELA: Provide a concluding statement or section related to the information or explanation presented.
  • SEL: Through relationship skills, practice relationship building.
  • Math: Write simple expressions that record calculations with numbers and interpret numerical expressions without evaluating them.
  • Science: Analyze and interpret data from maps to describe patterns of Earth’s features.

What You’ll Need

Hands-on

Minds-on

  • Computational thinking
  • Creativity
  • Problem-solving
  • Conflict resolution

Let’s create images that will change based on the position that the Code Cube is tilted. Students can follow the sample code provided in the student pages and can also plan out their design using the student worksheet. After they have completed the lesson, students can choose to further their coding prowess by completing the ELA, SEL, math, or science activities provided.

  • How far do you have to tilt the Code Cube for it to change images?
  • How does the Code Cube react when you tilt it at a different speed?
  • How is tilting the Code Cube useful for presenting the designs that you coded?

For Students

  • What other designs could you make that would represent something tilting in the real world?
  • How could you set up a tournament for one of the games that use the Code Cube?
  • What other tilting directions could be useful besides the four that you used?

For Teachers

Additional challenge activities are available for students who want to test out their newly acquired coding skills. If students feel like they need more coding experience before attempting a challenge activity, have them complete more lessons.

For more information on Code Cube, visit Pitsco.com/CodeCube.