Skip to content

Extensions

CN-Mika edited this page Aug 29, 2023 · 2 revisions

Animations and Collisions

Resource and Description
Mario Game: Use keydown events to make the character move right and left and to react to a collision with another character (students will have to add in another character to the game board). Extra challenges would include: using a keydown event to make Mario jump, add a counter and have it increase by 1 every time Mario jumps, make the coin disappear when Mario jumps up and reappear when he lands.
Snake Game: Potential alternative project that can be challenging yet rewarding. (includes lesson plans and solution code)
The Flying Bird: The code here uses art from a popular mobile game. When the bird is clicked, the bird will flap its' wings. Solution
The Flying Bird 2: This takes Flying Bird to the next level. Solution
setInterval Lesson: Coders will use setInterval to periodically execute functions

Functions

Focus Resource and Description Solution Minutes
Functions Calendar Activity: This activity gives students more time to practice calling and working with functions by making a calendar. Calendar solution code 30
Functions Complete a Calculator: Completing, creating, and calling functions Independent Practice Cal Solution 20
Functions & Variables Variable Function Practice: Turn parts of the page different colors Guided Practice. Includes topics like: Variables, Functions, Parameters and Scope Solution 20
Functions & Variables Balloon Popping Game: Variables and Function Practice for use during a guided practice or independent practice Balloon Popping solution code 20