Skip to content

rharel/java-pong

Repository files navigation

What is this?

This is an elementary pong game engine library (pong/), together with a demo pong implementation using it (pong-demo/). Included with the engine are also three AIs for enabling gameplay vs. the computer at different difficultty levels:

  • Easy - TrackerAI: Simply follows the ball's position at all times.
  • Medium - PredictorAI: Predicts the ball's movement trajectory in advance and plans accordingly.
  • Hard - AggressiveAI: Not only predicts the ball's movement trajectory, but also takes into account the opposing player's position and attempts to serve the ball away from it.

License

This software is licensed under the MIT License. See the LICENSE file for more information.

About

Pong game engine and AI.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages