1D-Pong

Fun and simple game on a NeoPixel strip.

Apr 17, 2020

12029 views

10 respects

Components and supplies

1

LED Strip, NeoPixel Digital RGB

1

Arduino UNO

2

Pushbutton Switch, Momentary

2

LED (generic)

Tools and machines

1

Soldering iron (generic)

Project description

Code

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

I ported the version with the booster button onto an ESP32 and then added the light strip to my kids school pinball woodwork project - very playable! Thanks to you guys for the inspiration and code! https://youtu.be/CqXcsoyCDYw

Anonymous user

2 years ago

Hi, few years ago id made the original vagrearg version that have booster button.. but yours is simplify version that only need 1 button each side. nice. the original limits is 254pixels.. can your version tweak to more than 254pixels ? i want to make it longer.. more than 5 meter actually.. :)

Anonymous user

2 years ago

@flyingangel please ignore of my dumbest knowledge... how to change the ball colour? need it to be like meteor or fire ball than normal colour. ;P

flyingangel

2 years ago

Thanks for your commend! Yes, your version was my biggest inspiration! But I wanted it as simple as possible, so I used just one Button per player. And it becomes more difficult by speed up each round and the boost when you hit the ball as late as possible. Now to your question: I use the FastLED-Library. There is in theory no limit. The limit is the memory of the arduino. But when you use a processor with more memory for variables, you can use much more neopixel. I found a discussion for this: https://github.com/FastLED/FastLED/issues/288

Anonymous user

2 years ago

Heck, I went a few steps further and 1. converted the game controls to iPhones 2. put it on the ceiling! kids are having fun :) https://youtu.be/w5ExMHo6OrI

Anonymous user

4 years ago

Heck, I went a few steps further and 1. converted the game controls to iPhones 2. put it on the ceiling! kids are having fun :) https://youtu.be/w5ExMHo6OrI

Anonymous user

4 years ago

I ported the version with the booster button onto an ESP32 and then added the light strip to my kids school pinball woodwork project - very playable! Thanks to you guys for the inspiration and code! https://youtu.be/CqXcsoyCDYw

thehecklerj

5 years ago

Hi, awesome code and great implementation of this 1D pong. I found other 1D Pong projects but found yours to fit perfectly given the feature rich but minimalistic approach. The simple two button implementation with brightness control at each game is brilliant. I struggled for a bit trying to code this on my own, hence my searching that led me here. Thanks again for your contribution and awesome comments throughout your code. I was able to get your code adapted for my application within a few minutes of finding. Its much more fun to play than to debug my own code. Thanks again!!!

Anonymous user

5 years ago

Hi, few years ago id made the original vagrearg version that have booster button.. but yours is simplify version that only need 1 button each side. nice. the original limits is 254pixels.. can your version tweak to more than 254pixels ? i want to make it longer.. more than 5 meter actually.. :)

flyingangel

2 years ago

Thanks for your commend! Yes, your version was my biggest inspiration! But I wanted it as simple as possible, so I used just one Button per player. And it becomes more difficult by speed up each round and the boost when you hit the ball as late as possible. Now to your question: I use the FastLED-Library. There is in theory no limit. The limit is the memory of the arduino. But when you use a processor with more memory for variables, you can use much more neopixel. I found a discussion for this: https://github.com/FastLED/FastLED/issues/288

Anonymous user

2 years ago

@flyingangel please ignore of my dumbest knowledge... how to change the ball colour? need it to be like meteor or fire ball than normal colour. ;P