Using Q-Learning to teach a computer to play pong.
Pygame is used for GUI.
In this implementation, I train two different agents at the same time and have them play against each other to learn. After around 200 games the ai's are smart enough to never lose.
After 140 games:
