How many different ways of creating Pong in Java

This is a very curious question, which would inspire me based on the possible replys I might get. More influence I’d say though.

I’ve not been programming in Java for that long, I’ve found it harder to learn than most people but still I have faith. I know this may be a stupid question but on estimate, it doesnt have to be correct but explainations would be a bonus, how many ways could you program a basic game like pong?

Based on:

  1. Any size
  2. Has Score
  3. AI or 2 player (2 sets of keys) (I know this ones gunna add to it!)
  4. No title screen
  5. No third party library

Kinda make sense now?

My main interest is how someone would be ArrayList for objects and others using other methods, if you get me… I’ve asked this question before, on another forum though but it wasnt gaming based.

Like I say, answers to this question is going to help personally when the confidence level drops, we must all have that time some days where you feel you arnt learning as much!