---
title: "Building A Game With p5 - Part 3: Rhythm Game"
description: It's time to finish building our Rhythm Game in our 3-part series on how to build a game with the powerful coding tool that is p5. Thanks to Christopher Cotton for taking the time to share this fun knowledge with our students and now with you!
image: https://learn.nashvillesoftwareschool.com/hubfs/NSS_BlogGraphic-p5-blog3-christopercotton.png
---

[![Nashville Software School Logo](https://learn.nashvillesoftwareschool.com/hubfs/Jan2018/Images/NSS-logo-horizontal-small.jpg)](http://nashvillesoftwareschool.com/)

- [Programs](http://nashvillesoftwareschool.com/programs) 
    - [Software Development Jumpstart](http://nashvillesoftwareschool.com/programs/software-development-jumpstart)
    - [Analytics Jumpstart](http://nashvillesoftwareschool.com/programs/analytics-jumpstart)
    - [Data Engineering Jumpstart](https://nashvillesoftwareschool.com/programs/data-engineering-jumpstart)
    - [Full-Time Web Developer Bootcamp](https://nashvillesoftwareschool.com/programs/web-developer-full-time/)
    - [Part-Time Web Developer Bootcamp](https://nashvillesoftwareschool.com/programs/web-developer-part-time/)
    - [Full-Time Data Analytics Bootcamp](http://nashvillesoftwareschool.com/programs/data-analytics-full-time)
    - [Part-Time Data Analytics Bootcamp](http://nashvillesoftwareschool.com/programs/data-analytics-part-time)
    - [Date Engineering Bootcamp](https://nashvillesoftwareschool.com/programs/data-engineering)
    - [Statistics For Data Science](http://nashvillesoftwareschool.com/programs/statistics-for-data-science)
    - [Data Science Bootcamp](http://nashvillesoftwareschool.com/programs/data-science)
    - [Professional Development](http://nashvillesoftwareschool.com/programs/professional-development)
- [Community](http://nashvillesoftwareschool.com/community) 
    - [Shop NSS](https://shopnss.creator-spring.com/)
    - [Our Team](http://nashvillesoftwareschool.com/community/instructors/)
    - [Alumni](http://nashvillesoftwareschool.com/community/alumni/)
    - [Mentors](http://nashvillesoftwareschool.com/community/mentors/)
    - [Employers](http://nashvillesoftwareschool.com/community/employers/)
    - [Veterans' Information](http://nashvillesoftwareschool.com/community/veterans-info/)
    - [Podcast](http://nashvillesoftwareschool.com/community/podcast/)
    - [Join Our Team](https://learn.nashvillesoftwareschool.com/join-our-team)
- [Support NSS](https://support.nashvillesoftwareschool.com) 
    - [Donate](https://support.nashvillesoftwareschool.com/ways-to-give)
    - [Corporate Giving](https://support.nashvillesoftwareschool.com/building-a-better-community-through-corporate-giving)
    - [Become A Volunteer](https://support.nashvillesoftwareschool.com/become-a-volunteer)
    - [Community Impact Report](https://support.nashvillesoftwareschool.com/community-impact-report-2025)
- [Calendar](http://nashvillesoftwareschool.com/calendar) 
    - [Upcoming Events](http://nashvillesoftwareschool.com/calendar/events)
    - [Upcoming Programs](http://nashvillesoftwareschool.com/calendar/upcoming-programs/)
- [Blog](https://learn.nashvillesoftwareschool.com/blog)

# Blog

# Building A Game With p5 - Part 3: Rhythm Game

Feb 2, 2023

 •

[Mandy Arola](https://learn.nashvillesoftwareschool.com/blog/author/mandy-arola)

*If you’re just joining us, check out our blog posts on learning to [draw](https://learn.nashvillesoftwareschool.com/blog/2023/01/31/building-a-game-with-p5-part-1-drawing) and [animate](https://learn.nashvillesoftwareschool.com/blog/2023/02/01/building-a-game-with-p5-part-2-animation) in p5.*

*Christopher Cotton recently joined our Web Development and Software Engineering students to show them how to create a game with p5. This workshop is based on a class he’s developed called Mr. Kitty Codes with video tutorials and a book coming soon. You can watch the video tutorials on the* [*Mr. Kitty Codes YouTube channel*](https://www.youtube.com/@mr.kittycodes) *and get notified when the book comes out at* [MrKittyCodes.com](https://mrkittycodes.com/)*. Thanks to Christopher for sharing his knowledge with our students and for allowing us to share it here on our blog.*

*This series assumes you have some basic JavaScript knowledge.*

---

It’s the moment you’ve all been working toward. Building a rhythm game! 

###### **Player instructions:**

There is a ball on the screen that will fall down to the bottom. When it reaches the bottom, you press a key to get points and your points will be added to the scoreboard.

Sounds simple enough?

#### Breaking it down

Before we jump into coding it in the [p5.js web editor](https://editor.p5js.org/), let’s break this game down into parts that will use our p5 drawing and animation skills.

Learn better with video tutorials? You can also watch the [video of building the rhythm game](https://youtu.be/S1jMxo4QI44).

Let’s start with a single ball, or ellipse, falling (or moving) down the screen. This is just like the rectangle we did in part 2 of this series, except we’ll want to add a background so we don’t see the animation trails.

1. Add a background.
2. Add an ellipse.
3. Animate the ellipse so that it moves down the screen.

[Jump to solution: Drawing the ellipse.](https://learn.nashvillesoftwareschool.com/blog/2023/02/02/building-a-game-with-p5-part-3-rhythm-game#drawing-the-ellipse)

Now here’s where we start to get a bit fancy. We’re going to change our variable name and also replace our y coordinate with the variable so that it starts at the top of our screen.

Instead of `a` for our variable, let’s name it `bY` to represent “ball moving down the Y-axis.” This will help us keep track of variable names as we add more variables.

And instead of `20 + a` for our Y value for our ellipse, let identify it as bY.

Now, when we add `bY = bY + 5;`, our ball will start at the top and disappear off the bottom. If you would like it to move faster, try adding 7 instead of 5.

[Jump to solution : Establishing the bY variable.](https://learn.nashvillesoftwareschool.com/blog/2023/02/02/building-a-game-with-p5-part-3-rhythm-game#establishing-the-bY-variable)

Now let’s loop the ball back to the top with an if statement.

[Jump to solution: Loop the ball.](https://learn.nashvillesoftwareschool.com/blog/2023/02/02/building-a-game-with-p5-part-3-rhythm-game#loop-the-ball)

##### **Add the score display**

Now that we have a ball moving, let’s add our scoreboard.

We’ll need a new draw function, called text, to add your score to the screen. The function looks like this:

`text (“What you want to display”, X , Y);`

Let’s start with the words, “Your Score.”

`text (“Your Score”, X , Y);`

![p5-Your Score](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/p5-Your%20Score.png?width=640&height=401&name=p5-Your%20Score.png)

To calculate and display the score, we’ll need a new variable. Let’s name it `score` and give it a point value of 25 to start so we can verify that it’s working.

We’ll use the text function again, but instead of text inside of quotation marks, we’ll put our variable there.

`text (variable, X, Y);`

![p5-Your Score with variable](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/p5-Your%20Score%20with%20variable.png?width=640&height=370&name=p5-Your%20Score%20with%20variable.png)

> ***Pro Tip*:** When you want the text function to display words, the words should be in quotation marks. If you want the text function to display a variable, no quotation marks are needed.

Now that you have a place to display your score, it’s time to start earning points.

#### **Generate points when any key is pressed**

If you recall from the rules of our game, points are earned when a key is pressed when the ball is at the bottom of the screen. To calculate our points, we’re going to introduce a whole new set of functions.

`function keyPressed() { }`

So if we want to give 25 points every time any key is pressed, we add the formula `score = score + 25;`.

To test your solution, click on the drawing screen and start mashing the keys on your keyboard. Go ahead, it is fun to press wildly and see the score increase. If your score is growing, your new function is working.

![p5-points s key + bottom screen](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/p5-points%20s%20key%20+%20bottom%20screen.png?width=641&height=371&name=p5-points%20s%20key%20+%20bottom%20screen.png)

> ***Pro tip*:** Test each step of the way to make sure one thing works before adding more functionality. E.g. test that any key pressed adds to your score before narrowing down to which key pressed generates points.

#### Generate points when the “s” key is pressed

To make our game more specific, let’s only give points if the “s” key is pressed.

We’ll need another if statement for that.

`if ( key == ‘s’ ) { score = score + 25; }`

The letter inside the single quotes like `s` can be any letter or number.

Test it out! When you press the s key, do you get points? How about when you press the k key?

> *Coding Newbie tip:* Make sure you do not have your CAPSLOCK key on, otherwise you might not be able to get points.

[Jump to solution: Points only when the 'S' key is pressed.](https://learn.nashvillesoftwareschool.com/blog/2023/02/02/building-a-game-with-p5-part-3-rhythm-game#points-only-when-the-s-key-is-pressed)

#### **Generate points when ball is at the bottom**

Let’s create a rectangle in the draw function across the bottom of the screen to reflect the scoring zone. 

Then we need to expand our if statement in the keyPressed function. Similar to other if statements in JavaScript, you can use && to create a second conditional statement.

`if ( key == ‘s’  && bY > 300) { score = score + 25; }`

Test it out! Do you only get points when you press the s key and the ball is at the bottom of the screen?

#### **Increasing the Challenge Level**

So now that you have all the basic components of the game you can increase the challenge level by moving the ball to different parts of the screen each time it falls

To do this, we’ll need to create a new variable to control the placement on the X-axis, we’ll name it bX. We’ll then replace the X-axis of 20 from our earlier placement of the ellipse with the variable.

![p5-bX variable](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/p5-bX%20variable.png?width=640&height=374&name=p5-bX%20variable.png)

To make it move randomly, we’ll give bX a new value when it reaches the bottom. So if we go to our if statement of`if (bY > 400) {}`, we can add a function to move bX.

`if ( bY > 400) { bY = 0; bX = random( 20, 360 ); }`

bX = random( 20, 360 ); will give bX a new starting point between 20 and 360.

To make the game more challenging, you can add more balls, move them at different speeds, or make the bottom of the screen smaller.

Give it a try and let us know how you do!

What else are you excited to create with P5? Let us know in the comments below! 

If you want more - check out [how to build a Cat and Toy game](https://youtu.be/Bjj7rrIqOss) which uses the mouse to move and launch a toy at a cat.

### Solutions

#### Drawing the ellipse

![p5-drawing the ellipse](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/p5-drawing%20the%20ellipse.png?width=640&height=399&name=p5-drawing%20the%20ellipse.png)

\*Note - The ellipse has already moved off the screen in this image.

#### Establishing the bY variable

![p5-establishing the bY variable](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/p5-establishing%20the%20bY%20variable.png?width=640&height=399&name=p5-establishing%20the%20bY%20variable.png)

\*Note - The ellipse has already moved off the screen in this image.

#### Loop the ball

![p5-loop the ball](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/p5-loop%20the%20ball.gif?width=640&height=360&name=p5-loop%20the%20ball.gif)

#### Points only when the s-key is pressed

![p5-points s key-1](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/p5-points%20s%20key-1.png?width=641&height=371&name=p5-points%20s%20key-1.png)

 

Topics: [Learning](https://learn.nashvillesoftwareschool.com/blog/tag/learning), [Web Development](https://learn.nashvillesoftwareschool.com/blog/tag/web-development)

[![Share on Facebook](https://static.hubspot.com/final/img/common/icons/social/facebook-24x24.png)](http://www.facebook.com/share.php?u=https%3A%2F%2Flearn.nashvillesoftwareschool.com%2Fblog%2F2023%2F02%2F02%2Fbuilding-a-game-with-p5-part-3-rhythm-game%3Futm_medium%3Dsocial%26utm_source%3Dfacebook) [![Share on LinkedIn](https://static.hubspot.com/final/img/common/icons/social/linkedin-24x24.png)](http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Flearn.nashvillesoftwareschool.com%2Fblog%2F2023%2F02%2F02%2Fbuilding-a-game-with-p5-part-3-rhythm-game%3Futm_medium%3Dsocial%26utm_source%3Dlinkedin) [![Share on Twitter](https://static.hubspot.com/final/img/common/icons/social/twitter-24x24.png)](https://twitter.com/intent/tweet?original_referer=https%3A%2F%2Flearn.nashvillesoftwareschool.com%2Fblog%2F2023%2F02%2F02%2Fbuilding-a-game-with-p5-part-3-rhythm-game%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&url=https%3A%2F%2Flearn.nashvillesoftwareschool.com%2Fblog%2F2023%2F02%2F02%2Fbuilding-a-game-with-p5-part-3-rhythm-game%3Futm_medium%3Dsocial%26utm_source%3Dtwitter&source=tweetbutton&text=Building%20A%20Game%20With%20p5%20-%20Part%203%3A%20Rhythm%20Game) [![Share on Email](https://static.hubspot.com/final/img/common/icons/social/email-24x24.png)](mailto:?subject=Check%20out%20https%3A%2F%2Flearn.nashvillesoftwareschool.com%2Fblog%2F2023%2F02%2F02%2Fbuilding-a-game-with-p5-part-3-rhythm-game%3Futm_medium%3Dsocial%26utm_source%3Demail%20&body=Check%20out%20https%3A%2F%2Flearn.nashvillesoftwareschool.com%2Fblog%2F2023%2F02%2F02%2Fbuilding-a-game-with-p5-part-3-rhythm-game%3Futm_medium%3Dsocial%26utm_source%3Demail)

### Upcoming Programs

Explore our upcoming programs to begin your journey towards a career in tech! Classes begin year-round.

[![EXPLORE](https://no-cache.hubspot.com/cta/default/4020755/e0f6232d-25e4-456d-a386-a0cf09a776dd.png)](https://cta-redirect.hubspot.com/cta/redirect/4020755/e0f6232d-25e4-456d-a386-a0cf09a776dd)

### Want to know more?

### Support NSS

[![Donate Now](https://no-cache.hubspot.com/cta/default/4020755/6faecbd3-f6a1-4a5b-9256-fa436de1e5ef.png)](https://cta-redirect.hubspot.com/cta/redirect/4020755/6faecbd3-f6a1-4a5b-9256-fa436de1e5ef)

### Post by Topic

- [Student Stories (369)](https://learn.nashvillesoftwareschool.com/blog/tag/student-stories)
- [Web Development (279)](https://learn.nashvillesoftwareschool.com/blog/tag/web-development)
- [Hiring? (233)](https://learn.nashvillesoftwareschool.com/blog/tag/hiring)
- [Analytics + Data Science (210)](https://learn.nashvillesoftwareschool.com/blog/tag/analytics-data-science)
- [Community (126)](https://learn.nashvillesoftwareschool.com/blog/tag/community)
- [News (115)](https://learn.nashvillesoftwareschool.com/blog/tag/news)
- [Learning (111)](https://learn.nashvillesoftwareschool.com/blog/tag/learning)
- [Alumni (78)](https://learn.nashvillesoftwareschool.com/blog/tag/alumni)
- [Software Engineering (61)](https://learn.nashvillesoftwareschool.com/blog/tag/software-engineering)
- [Technology Insights (39)](https://learn.nashvillesoftwareschool.com/blog/tag/technology-insights)
- [10 Years | 2000 Journeys (27)](https://learn.nashvillesoftwareschool.com/blog/tag/10-years-2000-journeys)
- [Get Involved (24)](https://learn.nashvillesoftwareschool.com/blog/tag/get-involved)
- [Meetups & Community Events (22)](https://learn.nashvillesoftwareschool.com/blog/tag/meetups-community-events)
- [UI/UX (22)](https://learn.nashvillesoftwareschool.com/blog/tag/ui-ux)
- [Data Engineering (17)](https://learn.nashvillesoftwareschool.com/blog/tag/data-engineering)
- [Mind The Gap (5)](https://learn.nashvillesoftwareschool.com/blog/tag/mind-the-gap)

All

### Blog Archives

- [September 2026 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/09)
- [August 2026 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/08)
- [July 2026 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/07)
- [June 2026 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/06)
- [May 2026 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/05)
- [April 2026 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/04)
- [March 2026 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/03)
- [February 2026 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/02)
- [January 2026 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2026/01)
- [December 2025 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/12)
- [November 2025 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/11)
- [October 2025 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/10)
- [September 2025 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/09)
- [August 2025 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/08)
- [July 2025 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/07)
- [June 2025 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/06)
- [May 2025 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/05)
- [April 2025 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/04)
- [March 2025 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/03)
- [February 2025 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/02)
- [January 2025 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2025/01)
- [December 2024 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/12)
- [November 2024 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/11)
- [October 2024 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/10)
- [September 2024 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/09)
- [August 2024 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/08)
- [July 2024 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/07)
- [June 2024 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/06)
- [May 2024 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/05)
- [April 2024 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/04)
- [March 2024 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/03)
- [February 2024 (6)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/02)
- [January 2024 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2024/01)
- [December 2023 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/12)
- [November 2023 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/11)
- [October 2023 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/10)
- [September 2023 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/09)
- [August 2023 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/08)
- [July 2023 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/07)
- [June 2023 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/06)
- [May 2023 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/05)
- [April 2023 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/04)
- [March 2023 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/03)
- [February 2023 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/02)
- [January 2023 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2023/01)
- [December 2022 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/12)
- [November 2022 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/11)
- [October 2022 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/10)
- [September 2022 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/09)
- [August 2022 (10)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/08)
- [July 2022 (10)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/07)
- [June 2022 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/06)
- [May 2022 (6)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/05)
- [April 2022 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/04)
- [March 2022 (12)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/03)
- [February 2022 (12)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/02)
- [January 2022 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2022/01)
- [December 2021 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/12)
- [November 2021 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/11)
- [October 2021 (6)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/10)
- [September 2021 (15)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/09)
- [August 2021 (19)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/08)
- [July 2021 (12)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/07)
- [June 2021 (16)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/06)
- [May 2021 (9)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/05)
- [April 2021 (9)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/04)
- [March 2021 (10)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/03)
- [February 2021 (17)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/02)
- [January 2021 (10)](https://learn.nashvillesoftwareschool.com/blog/archive/2021/01)
- [December 2020 (13)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/12)
- [November 2020 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/11)
- [October 2020 (11)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/10)
- [September 2020 (13)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/09)
- [August 2020 (9)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/08)
- [July 2020 (10)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/07)
- [June 2020 (12)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/06)
- [May 2020 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/05)
- [April 2020 (12)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/04)
- [March 2020 (11)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/03)
- [February 2020 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/02)
- [January 2020 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2020/01)
- [December 2019 (6)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/12)
- [November 2019 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/11)
- [October 2019 (6)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/10)
- [September 2019 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/09)
- [August 2019 (10)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/08)
- [July 2019 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/07)
- [June 2019 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/06)
- [May 2019 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/05)
- [April 2019 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/04)
- [March 2019 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/03)
- [February 2019 (6)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/02)
- [January 2019 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2019/01)
- [December 2018 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/12)
- [November 2018 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/11)
- [October 2018 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/10)
- [September 2018 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/09)
- [August 2018 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/08)
- [July 2018 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/07)
- [June 2018 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/06)
- [May 2018 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/05)
- [April 2018 (9)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/04)
- [March 2018 (6)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/03)
- [February 2018 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/02)
- [January 2018 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2018/01)
- [December 2017 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/12)
- [November 2017 (9)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/11)
- [October 2017 (11)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/10)
- [September 2017 (9)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/09)
- [August 2017 (12)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/08)
- [July 2017 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/07)
- [June 2017 (9)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/06)
- [May 2017 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/05)
- [April 2017 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/04)
- [March 2017 (8)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/03)
- [February 2017 (7)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/02)
- [January 2017 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2017/01)
- [December 2016 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/12)
- [September 2016 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/09)
- [August 2016 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/08)
- [July 2016 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/07)
- [June 2016 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/06)
- [May 2016 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/05)
- [April 2016 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/04)
- [March 2016 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/03)
- [February 2016 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/02)
- [January 2016 (5)](https://learn.nashvillesoftwareschool.com/blog/archive/2016/01)
- [December 2015 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2015/12)
- [June 2015 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2015/06)
- [January 2015 (4)](https://learn.nashvillesoftwareschool.com/blog/archive/2015/01)
- [December 2014 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2014/12)
- [February 2014 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2014/02)
- [January 2014 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2014/01)
- [October 2013 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2013/10)
- [June 2013 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2013/06)
- [May 2013 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2013/05)
- [April 2013 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2013/04)
- [November 2012 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2012/11)
- [October 2012 (2)](https://learn.nashvillesoftwareschool.com/blog/archive/2012/10)
- [July 2012 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2012/07)
- [June 2012 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2012/06)
- [May 2012 (3)](https://learn.nashvillesoftwareschool.com/blog/archive/2012/05)
- [January 2012 (1)](https://learn.nashvillesoftwareschool.com/blog/archive/2012/01)

All

### Recent Posts

Nashville Software School is authorized by the [Tennessee Higher Education Commission](https://www.tn.gov/thec/). This authorization must be renewed each year and is based on an evaluation by minimum standards concerning quality of education, ethical business practices, health and safety, and fiscal responsibility.

- [NSS](http://nashvillesoftwareschool.com/)
- [About](http://nashvillesoftwareschool.com/about)
- [Press](http://nashvillesoftwareschool.com/press)
- [Contact](http://nashvillesoftwareschool.com/contact)
- [Virtual Tour](https://learn.nashvillesoftwareschool.com/virtual-tour)
- [FAQ](http://nashvillesoftwareschool.com/faq)
- [Blog](https://learn.nashvillesoftwareschool.com/blog)
- [Policies & Regulations](http://nashvillesoftwareschool.com/policies-and-regulations)

- [Programs](http://nashvillesoftwareschool.com/programs)
- [Software Development Jumpstart](http://nashvillesoftwareschool.com/programs/software-development-jumpstart)
- [Analytics Jumpstart](http://nashvillesoftwareschool.com/programs/analytics-jumpstart)
- [Data Engineering Jumpstart](https://nashvillesoftwareschool.com/programs/data-engineering-jumpstart)
- [Full-Time Web Developer Bootcamp](http://nashvillesoftwareschool.com/programs/full-time-bootcamps)
- [Part-Time Web Developer Bootcamp](http://nashvillesoftwareschool.com/programs/part-time)
- [Full-Time Data Analytics Bootcamp](http://nashvillesoftwareschool.com/programs/data-analytics-full-time)
- [Part-Time Data Analytics Bootcamp](http://nashvillesoftwareschool.com/programs/data-analytics-part-time)
- [Data Engineering Bootcamp](https://nashvillesoftwareschool.com/programs/data-engineering)
- [Statistics For Data Science](http://nashvillesoftwareschool.com/programs/statistics-for-data-science)
- [Data Science Bootcamp](http://nashvillesoftwareschool.com/programs/data-science)
- [Professional Development](http://nashvillesoftwareschool.com/programs/professional-development)

- [Community](http://nashvillesoftwareschool.com/community)
- [Donate](https://support.nashvillesoftwareschool.com)
- [Shop NSS](https://shopnss.creator-spring.com/)
- [Our Team](http://nashvillesoftwareschool.com/community/instructors/)
- [Alumni](http://nashvillesoftwareschool.com/community/alumni/)
- [Mentors](http://nashvillesoftwareschool.com/community/mentors/)
- [Employers](http://nashvillesoftwareschool.com/community/employers/)
- [Veterans' Information](http://nashvillesoftwareschool.com/community/veterans-info/)
- [Podcast](http://nashvillesoftwareschool.com/community/podcast/)
- [Join Our Team](https://learn.nashvillesoftwareschool.com/join-our-team)

- [Support NSS](https://support.nashvillesoftwareschool.com)
- [Donate](https://support.nashvillesoftwareschool.com/ways-to-give)
- [Corporate Giving](https://support.nashvillesoftwareschool.com/building-a-better-community-through-corporate-giving)
- [Become a Volunteer](https://support.nashvillesoftwareschool.com/become-a-volunteer)
- [Community Impact Report](https://support.nashvillesoftwareschool.com/community-impact-report-2025)
- [Upcoming Events](http://nashvillesoftwareschool.com/calendar)

 

[![Leaders-in-Diversity-2023](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/Leaders-in-Diversity-2023.png?width=120&height=60&name=Leaders-in-Diversity-2023.png)](https://bizj.us/1qj9h1)[![Best In Business 2020 Winner](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/BIBA-2020-logo-Winner.jpg?width=120&name=BIBA-2020-logo-Winner.jpg)](https://learn.nashvillesoftwareschool.com/blog/2020/03/10/nss-awarded-best-in-business)![Nashville Scene - Ditch Your Crappy Job 2016](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/Nashville-Scene-Award.jpg?width=120&name=Nashville-Scene-Award.jpg)

 

[![NACC Proud Member](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/NACCProudMember.png?width=120&name=NACCProudMember.png)](https://www.nashvillechamber.com/)

[![NTC Member](https://learn.nashvillesoftwareschool.com/hs-fs/hubfs/ntc-member.png?width=250&name=ntc-member.png)](https://technologycouncil.com/)

 

 

<https://www.linkedin.com/school/nashville-software-school/> <https://www.facebook.com/nashvillesoftwareschool.com> <https://www.instagram.com/nashvillesoftwareschool> <https://www.youtube.com/channel/UCCKj04Fy5V4zAjWSIqdqScw> <https://www.x.com/nashsoftware> <https://soundcloud.com/nashville-software-school/sets/stories-from-the-hackery-1?utm_source=clipboard&utm_medium=text&utm_campaign=social_sharing>

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Mandy Arola",
    "url" : "https://learn.nashvillesoftwareschool.com/blog/author/mandy-arola"
  },
  "dateModified" : "2023-02-02T14:45:00.294Z",
  "datePublished" : "2023-02-02T14:45:00.000Z",
  "headline" : "Building A Game With p5 - Part 3: Rhythm Game",
  "image" : [ "https://learn.nashvillesoftwareschool.com/hubfs/NSS_BlogGraphic-p5-blog3-christopercotton.png" ],
  "mainEntityOfPage" : {
    "@id" : "https://learn.nashvillesoftwareschool.com/blog/2023/02/02/building-a-game-with-p5-part-3-rhythm-game",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://learn.nashvillesoftwareschool.com/hubfs/NSS-logo-horizontal-large.jpg"
    },
    "name" : "Nashville Software School"
  }
}
```