An open API service indexing awesome lists of open source software.

https://github.com/brouqen/pong-game-for-arduino-lcd-16x2

A simple Pong game for Arduino using 3 buttons and an LCD 16x2 display.
https://github.com/brouqen/pong-game-for-arduino-lcd-16x2

arduino arduino-game lcd16x2 pong-game

Last synced: 2 months ago
JSON representation

A simple Pong game for Arduino using 3 buttons and an LCD 16x2 display.

Awesome Lists containing this project

README

        

# Pong Game for Arduino LCD 16x2
A simple Pong game designed for Arduino using 3 buttons and an LCD 16x2 display.

---

## 🌐 Try it Online!
You can experience the game directly in your browser via Wokwi:
👉 [Play Pong on Wokwi](https://wokwi.com/projects/424770408827590657)

No Arduino hardware required — just jump in and play!

---

## 🎯 About the Project
This project was created as part of my journey to learn **C++** and improve my programming skills. I'm constantly working to enhance the code and gameplay.
I would be grateful for any feedback, suggestions, or tips to help me improve! 😊

---

## 🎮 Game Tutorial
In this game, players can compete in two modes:
- **Player vs Player (PvP)**
- **Player vs PC (PvPC)**

### Controls
- **Start Button** - Begin the game or confirm menu selections.
- **Left Button** - Navigate left in the menu or control Player 1's paddle.
- **Right Button** - Navigate right in the menu or control Player 2's paddle.

### Objective
Keep the ball from passing your paddle by moving it up or down.

---

## ✅ Features
- Intuitive 2-button paddle control
- Clear 16x2 LCD display for game visuals
- PvP and PvPC game modes
- Easy-to-use menu navigation

---

## 🔧 To-Do List
✔️ Menu System
✔️ Fully Working Game with PvP Mode
✔️ Functional PvPC Mode

🟠 Add score limit option
🟠 Add gameover sceen
🟠 Fix remaining bugs
🟠 Improve PC logic for better gameplay
🟠 Optimize code for readability and performance
🟠 Add sound effects using a buzzer (optional)

---

## 📜 How to Upload to Arduino
1. Connect your Arduino UNO board to your computer.
2. Install the required **LiquidCrystal** library.
3. Upload the provided code to your Arduino using the Arduino IDE.
4. Enjoy your Pong game on the LCD display!

---

## 🛠️ Hardware Requirements
- Arduino UNO (or compatible)
- LCD 16x2 display
- 3 push buttons
- 10K potentiometer (for LCD contrast)
- Connecting wires and breadboard

---

## 🤝 Contributions
Since this project is part of my learning process, I would be incredibly grateful for any feedback, suggestions, or improvements you can share. Feel free to fork the repository and submit a pull request.

Happy coding! 😊