Introduction: Pong Game by Andrea

This is a game that originally came from here. I made the game then make some changes based on that. I will show you the steps of making this game then give you the code that I changed. I added some changes to the original code, such as changing the winning point from 9 points to 5 points. I also added a short song after one player won the game. This project is quite easy.

Step 1: Step 1: Prepare All the Materials

Materials needed:

- Arduino Leonardo or equivalent (such as uno)

- (2) 8x8 LED matrix with MAX7219 (2)

-10K potentiometer

-jumper wires

-enclosure (mine is made by cardboard)

-glue gun



Step 2: Step 2 Construct All the Materials Together (Circuit)

It should look something like this once you finish making the product. To play it, you simply need to just plug the lines that connect your laptop with the code and your product together. To restart the game once it is finished (it will be finished as it reached 5), you just need to plug the lines again. The circuit that I put into is from @botdemy.

Step 3: Step 3 Code

You can download my code from here

Be aware!!! If you want to successfully use the code, you MUST download a simple max7219 library called Led Control. If you don't have this library installed already on your Arduino IDE, please follow the instructions on their webpage for download. To insert the Led Control into your Arduino, please follow the installation guide.

Step 4: Step 4: You Are Done!