Husham Dogar
Published © GPL3+

How to make Arduino Pong Game-Arduino Project

Complete step by step guide how to make Arduino pong game. You can play pong game with the computer with a green paddle.

IntermediateFull instructions provided1 hour13,265
How to make Arduino Pong Game-Arduino Project

Things used in this project

Hardware components

Arduino LilyPad Main Board
Arduino LilyPad Main Board
×1
Breadboard (generic)
Breadboard (generic)
×1
Jumper wires (generic)
Jumper wires (generic)
×1

Story

Read more

Code

Code snippet #1

Plain text
uint8_t ball_x = 64, ball_y = 32;
uint8_t ball_dir_x = 1, ball_dir_y = 1;
 
boolean gameIsRunning = true;
boolean resetBall = false;

Github

https://github.com/adafruit/Adafruit-SSD1331-OLED-Driver-Library-for-Arduino

Github

https://github.com/adafruit/Adafruit-GFX-Library

Credits

Husham Dogar

Husham Dogar

3 projects • 25 followers
Arduino and Raspberry pi project developer.

Comments