This is a Pong application for the iPad that allows has the capability of switching between a normal, touch-based interaction and an Arduino, sensor based interaction. The Arduino mode requires an Arduino (obviously), as well as the RedPark Serial Cable, and the proper circuitry for whatever sensor you would like to control the paddle with. The app has two views: the Pong view, where the game is played, and a settings view, where the user can adjust the score needed to win, the AI difficulty, and the x and y speed of the ball. The user can also toggle whether sound effects are on, and toggle between normal and sensor-based gameplay.
The code is available on GitHub at: https://github.com/leducmills/iOS/tree/master/iPadPong%203