Skip to content

Java applets that apply concepts of object oriented programming to a visualization of the game of pong πŸ“

Notifications You must be signed in to change notification settings

dennisoconnell/Pong-in-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pong-in-Java πŸ“

Java applets that apply concepts of object oriented programming to visualization of the game of pong

Demonstration of Pong 1:

  • Pong1 was necessary because it served as the framework for what became Pong2.
  • In Pong1 I introduced an arraylist to store Ball objects which contain the physics, size, and color of every ball.
  • The applet paints each ball, then repaints each ball after applying phsyics and random colors

Demonstration of Pong 2:

  • Created paddle and player classes to handle game functionality.
  • Implemented keylisteners to allow for user input
  • Refresh rate had to be limited due to poor optimization

About

Java applets that apply concepts of object oriented programming to a visualization of the game of pong πŸ“

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages