Last Friday we worked in groups learning how to interface the Arduino with p5 via serial communication. My partner Yiting and I decided to make a pong inspired game that was controlled via a linear potentiometer.
Our code turned out fairly simple. At some point I would like re-write it into objects. Also a two player version would be fun!
Here it is in action!