Codey Rocky: Hot Codey, Pass it On! (Grade 7-8)


In this lesson, students will learn about and be able to explain heat transfer, using the coding concept functions and its infrared features of Codey Rocky, and to create code that would mimic the transfer of heat through conduction (e.g., the transmission of heat from a stove burner to a pot and from the pot to the pot handle). Just like the game of hot potato where students would program their code to pass on the “heat” through it’s infrared feature. Students can then try and pass on their “heat” from one Codey Rocky to another and see how long they can go for.


1. By the end of this lesson students will be able to describe what functions are and how they work in the transfer of heat from one Codey Rock to another.

2. By the end of this lesson students will be able to program Codey Rocky using different functions, movements and actions as well as using the IR transmission in order to transfer the heat from one robot to another.

Curriculum Connections Summary

  • Ontario - Mathematics - Algebra (Coding) & Science
  • Quebec - Science
  • New Brunswick - Science
  • Nova Scotia - Science & ICT
  • Alberta - Science & ICT
  • British Columbia - Science & ADST
  • Manitoba - Science
  • Prince Edward Island - Science
  • Saskatchewan - Science
  • Newfoundland & Labrador - Science
  • Yukon Territories - Follow's B.C.'s Curriculum
  • Northwest Territories - Follows Alberta's Curriculum
  • Nunavut - Follows Alberta's Curriculum

Find Out More

Codey Rocky
Codey Rocky

Write your first line of code!

Codey Rocky combines hardware with software, allowing children to learn about programming while they play and create. Using mBlock, a software which supports both blocked-based and Python programming, Codey Rocky takes children by their hands and leads them into the world of technology with its in-built AI and IoT functionalities, giving them a competitive edge in the AI era.