Please enable JavaScript to use CodeHS

Coding Explorations in Sports

Coding + Sports is a mini-course that introduces students to the basics of coding through sports! In this block-coding course, students develop their own sports video games and simulations using code. Throughout the course, students build different sports visualizations and multi-level games that can be played with friends.


Units: 2
Timeframe: Unit
Contact Hours: 11

By the Numbers

Contact Hours 11
Lessons 10
Videos 10
Challenges 10
Offline Handouts 2


Unit Description
Introduction to Coding in Sports: Students are introduced to the JavaScript block coding environment. Students curate the environment of their own sports video game.
Coding in Sports: Students learn about event handlers and create more elaborate video games with images, sound, and multiple levels. As a final project, students make a multi-level putting game.


Click on a demo to test it out.

Make a Shot

Mini-Golf Final Project

Format of Course

The entirely web-based curriculum is made up of a series of learning items that introduce students to some fundamentals of programming. Each lesson is made up of short video tutorials, example programs, programming exercises, challenge problems, and connections. The course is designed as a creative, 10-hour long mini-unit, though schools implement it in a variety of ways.

Who is it for?

The Coding Explorations in Sports course is designed for complete beginners with no previous background in computer science. The course is highly visual, dynamic, and interactive amd can be used with middle or high school students.


Interested in teaching the Coding Explorations in Sports course with CodeHS? Get in touch, so we can help you bring CodeHS to your school!

Bring to My School