w6: go go pong
Monday, October 9th, 2006This project revolves around playing a networked game of Pong in Processing. After trying out both of Tom’s examples using an accelerometer and force sensing resistors, I decided to stick with the FSRs as the sensors for my Pong controller. Achieving the right balance and best values for the threshold were tricky with the accelerometer.
I used some scrap materials from previous classes - some foamcore and some plastic vinyl from an innertube to construct my mini DDR style pad and housing for the circuit:

Stepping on each foot results in your Pong paddle moving either left or right. Each step is confirmed with a corresponding LED light (orange for left, green for right). The switch on the box allows the player to connect or exit from the game (indicated by a red LED), and when the player is successfully connected to the server, a white LED goes on.
I realize I’m not truly using the FSR’s sensing capabilities here - these should just be digital switches in the footpads; but for now, I’ve got this working and I’m happy with its functionality. I’ll come back to this and swap it out later.
What I’m still working on: Looking to see if I can modify Tom’s code to have my screen’s paddle track the ball, and move on its own regardless of where I stomp…

