Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
/ Pong Public archive

Creando Interfaces de Usuario Práctica 1 Curso 2019/2020

Notifications You must be signed in to change notification settings

MiguelHerreraAlvarez/Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Pong with Processing

About the author

Miguel Herrera Álvarez. Last-year Computer Engineering student in the University of Las Palmas de Gran Canaria.

Develop

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.

Decisions

  • 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.

Tools and references

Take a peek of result

About

Creando Interfaces de Usuario Práctica 1 Curso 2019/2020

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published