Miguel Herrera Álvarez. Last-year Computer Engineering student in the University of Las Palmas de Gran Canaria.
Try to remake original Pong game using Processing for it developt. The code consist in a setup() method where initialice all the variables and a draw() method which call other auxiliar methods who paint the frame and handler the movements and bounds. Most interesting of this methods are which handler bounds, in this case contactWithPlayer() control the bound of the ball with a player's paddle.
- Player 1 controls:
- W key for up.
- S key for down.
- Player 2 controls:
- ↑ key for up.
- ↓ key for down.
- Win score is 10 goals.
- Processing 3.5.4
- Processing.Sound library
- Bit 5x3 Font