In this video we are going to build an Arduino Game, the clasic Pong game! The Arduino Pong Game is a very easy Arduino Project to build, it won’t take you more than 15 minutes!
Arduino Pong Game – The Parts
Hey guys, I am Nick and welcome to educ8s.tv a channel that is all about DIY electronics projects with Arduino, Raspberry Pi, ESP8266 and other popular boards. In this video we are going to build an Arduino powered Game. It is the classic Pong Game! I am now playing against the computer controlling the green paddle. Each time a player scores, the score is displayed on the screen. The first player to reach 8 points wins! It is a fun project to build and as you are going to find out, it won’t take you more than 10 minutes to build it. Let’s start!
The parts needed in order to build this project are the following:
WHERE TO BUY
Arduino Uno: http://bit.ly/Cheap_Uno
Color OLED: http://bit.ly/ColorOLED
Small Breadboard: http://bit.ly/SmallBreadboard.
Push Buttons: http://bit.ly/100Buttons
Jumper Wires: http://bit.ly/JumperWiresB
3 in 1 wires: http://bit.ly/Wires3InOne
Full disclosure: All of the links above are affiliate links. I get a small percentage of each sale they generate. Thank you for your support!
Arduino Pong Game – The Code
📥 Adafruit GFX: https://github.com/adafruit/Adafruit-GFX-Library
📥 Color OLED library: https://github.com/adafruit/Adafruit-SSD1331-OLED-Driver-Library-for-Arduino
Let’s now take a quick look at the code. The code of this project is based on the code of a pong game for the monochrome OLED display. You can find the link for the original code in the description of the video below. I modified the code to work with the color OLED display, I added the splash screen, and the score, and the game Over screen. The project needs two libraries in order to compile. We need the Adafruit GFX library and the library for the OLED display.
By adjusting the values of these variables you can change the difficulty of the game. You can set the ball speed, the paddle speed, the paddle height and the maximum score in order to make the game fit your taste. That’s it, upload the code to Arduino and have fun! As always you can find the code of the project and links for the libraries in the description of the video below.
CODE OF THE PROJECT
SUBSCRIBE ON YOUTUBE
Never miss a video: Subscribe to educ8s.tv