Skip to content

Using Q-Learning to teach a computer to play pong.

Notifications You must be signed in to change notification settings

JosephReps/QPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QPong

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:

pong_gif

About

Using Q-Learning to teach a computer to play pong.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages