Please enable JavaScript to use CodeHS


Introduction to Game Design with p5play

This is a first-semester course that introduces students to game design and programming. Students use the p5play JavaScript library in order to design, develop, and publish games. Throughout the course, students learn about major programming topics like variables, functions, conditionals, and mouse/keyboard events while building fun and interactive games that they can play and share with others.

Overview & Highlights

Middle School
Contact Hours

Course Overview

To view the entire syllabus, click here or click to explore the full course.

Intro to Game Design
Students reflect on their game-playing experience and learn more about major video game topics and categories.
Programming in JavaScript
Students learn the basics of JavaScript including variables, user input, mathematics, and functions.
Getting to Know p5play
Students learn about the JavaScript library p5play and how to use it to create the basic structure of an animated or interactive program.
Project: Mini Golf
Students incrementally develop a mini golf game, learning more about the p5play library and important computer science topics like booleans and if/else statements.
Project: Projectiles
Students incrementally develop a projectiles game, learning about new p5play library topics of Groups and Tiles, while improving their fundamental program development skills.
Project: Jumper
Students incrementally develop a platform jumper game, learning how to animate game components with sprite sheets, while improving their fundamental program development skills.

Offline Handouts

Demo Programs

Explore programs that your students will build throughout this course!

Course Resources

Here are a few examples of teacher resources and materials to use in the Introduction to Game Design with p5play course

Customizable Assignments

Create and organize Assignments in any CodeHS course that you're teaching. You can even add custom assignments to pre-existing CodeHS courses.

Learn More

Actions for Teachers

Didn’t find what you were looking for? Here are a few links that might be useful to you.