Please enable JavaScript to use CodeHS

Introduction to Game Design with p5play

Lesson 3.2 Program Structure

Description

In this lesson, students will learn about the two main functions in a p5play program, setup() and draw().


Objective

Students will be able to:

  • Describe the role that the setup() function plays in a p5play program
  • Describe the role that the draw() function plays in a p5play program
  • Code the standard structure of p5play program