Please enable JavaScript to use CodeHS

Coding Explorations in Sports

Lesson 2.1 Game Events

Description

In this activity, students will learn how to use block coding to add events and event handlers to make their games responsive to user input (e.g., key press, mouse click) or game scenarios (e.g., out of time, scoring a goal). They will customize different aspects of their program to create a final product that can be shared with their teacher, family, and friends.


Objective

SWBAT create a custom make-a-shot type game by adding events and event handlers from the JavaScript code blocks.