CyberPi: Game Controller (Gr. 6-8)

Block-Based: Beginner


Description

In this lesson, students will turn the CyberPi into a game controller by combining device programming and stage programming in mBlock. Students will examine example programs to discover how the CyberPi can control the movement of a sprite. Then, through pair programming, students will modify an existing game to program a CyberPi game controller.

Objectives

  • Differentiate between stage programming and device programming.
  • Examine and describe how an existing project functions.
  • Create a program in mBlock using the CyberPi to control sprites.
  • Modify an existing program.

Curriculum Connections Summary

  • Ontario - Mathematics - Algebra (Coding)
  • Quebec - Science
  • New Brunswick - Science
  • Nova Scotia - ICT
  • Alberta - CTF
  • British Columbia - 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


CyberPi
CyberPi

Networkable microcontroller for Computer Science and AI education

CyberPi is a single-board computer, packed with advanced electronics which makes it a powerful coding machine! In combination with an impressive mBlock coding editor, it supports the development of coding skills from block-based programming to Python. The Python editor is a platform designed for learning and teaching Python and Micropython - taking AI, IoT and Data Science learning to the next level!