I built a simple pong AI that first doesn’t know anything when it starts playing, but gradually learns how to play by itself.
The hearts to the left tell how many wins/revisions the AI goes through, and the score to the right tells how many losses it has. Press A for debug on/off.