In this Arduino Game Project video we are going to build an Arduino Game, the clasic Pong game! It is a very easy Arduino Project to build, it won’t take you more than 15 minutes!
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:
Color OLED:
Small Breadboard:
Push Buttons:
Jumper Wires:
Wires:
PowerBank:
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!
——————–
LIBRARIES
——————–
📥 Adafruit GFX:
📥 Color OLED library:
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 FOR THE MONOCHROME OLED
——————–
——————–
CODE OF THE PROJECT
——————–
📥
——————–
Quiz of Knowledge Android Game
——————–
You can download my latest Android Game which is called Quiz of Knowledge here:
📥
——————–
MORE PROJECTS
——————–
Arduino Datalogger:
Arduino Weather Station Project:
Arduino Nokia 5110 LCD Display:
Arduino OLED display tutorial:
DIY Arduino:
——————–
ABOUT EDUC8S.TV
——————–
Educ8s.tv is a Youtube channel and website which is dedicated in developing high quality videos about DIY hardware and software projects. In this channel we develop projects with Arduino, Raspberry Pi, we build robots and simple electronic circuits. Check out our website as well for more information:
——————–
SUBSCRIBE ON YOUTUBE
——————–
Never miss a video:
Nguồn: https://hellameke.com/
Xem thêm bài viết khác: https://hellameke.com/game/
Do you have a scheme ?
I was able to build this, and it works great? Question, I would like to add a potentiometer feature where I can control the paddle with the potentiometer on top of the buttons. Is this possible? If so, how would the code look like?
Hello. Can I make it using single color Oled?
These guys making games to run on a monochrome displaying through composite video are turning the wheels backwards with the progress of technology. I enjoy making video games due to the coding challenge that it gives me, but if I were to make games using an Arduino, then I would choose an dedicated display in colour and measuring at least 3 inches. I feel that a system with industry standards would be a good platform for coders to write their retro games on. But it makes no sense to use a high-tech computer to generate something incredibly "down graded in black and white that was commonplace 30-years ago" People will laugh.
Are you going to do a tutorial on installing Pong game on a STM32F103C8T6 board?
Hey Nick you can do a pong game that you can play vs the computer
Adafruit_GFX.h: No such file or directory..
help me . i downloaded and extracted it
nice
With this project we can change the script and make a tv
i have a question, my oled screen has d0 and D1 instead of SDA and SCL, are they the same thing? which one would be SDA and which one would be SCL?
What i have to do if i have the 4 pin version oh the display?
can we use a Nano for this?
Excelente.
Saludos desde El Salvador.
What is that silver colored wire?
I am making a video on how to make this project and will mention you in video
nice
Using pot to control your pad
It's necessary to have a Color Oled? Because i want to recreate this project but i have a Oled 1.3 that is on black and white.
What about the program? When you order or buy the screen is it pre programmed?
I’m going to make this
Very nice
CAN WE PLAY THIS ON ARDIUNO MINI . PLEASE TELL.
can i ask if this project could be able to stand alone???
code is not working
Working not color display???
Can you made a tutorial of this game for 2 players
Here is a video of mine in which I made the game using16×2 LCD
https://m.youtube.com/watch?v=_Atww5RGn0I
Good demonstration
I made it and it worked awesome
can someone help me at the moment i am trying to make the monchrome version of this but the wiring is not the same and he doesn't say where the oled screen pin go on the bread bored
learn english
is there a way to make it two player?
can you do it with joystick?
can we use i2c oled with the same code?
Nice video man, very clear explanation, compliments. Like your accent. Didn't know there is a color version of this display, is there also an I2C variant available?
i hate his voice its you annoying
dear educ8tstv if you find a library for making sprites and animations with the oled or lcd, please make a tutorial! 😁😭😭