Pong is a classic game that consists of two paddles, some walls and a scoring system. In this project, you will modify a game of Pong to incorporate the Getting Started Kit.
This project assumes are familar with Processing and you have completed the following guides:
By the end of this tutorial, you should have a functioning single player Pong game implemented in Processing.
All that is required for this project is connecting your Getting Started Kit to your computer.
Download Base Project
Add Libraries and Experiment
Next, import the Phidget libaries. If you forget how, go back to the Processing and Phidgets Tutorial.
You can recreate this movement in one of the paddles with the Getting Started Kit.
After getting your paddle working, try the following:
- Work with a teammate and add another Getting Started Kit to the program.
- When using two VINT Hubs in the same program, make sure to set the Device Serial Number of your Phidget objects.
- Pong AI - write code so that the right paddle plays against you. Try adding different difficulty levels that the user can select.
- Use a different Phidget to control the paddle. For example, the Slider 60 Phidget.
There are many more applications of the Get Started Kit and Phidgets. Have you created something from your Get Started Kit? We would love to hear about it at email@example.com