Skip to content

Classic pong game is developed using pygame and played by two AI agents competing each other.

Notifications You must be signed in to change notification settings

AkshayB2211/AI-plays-Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-plays-Pong

Classic pong game is developed using pygame and played by two AI agents competing each other.

Requirements

Python along with libraries pygame, matplotlib, numpy.

Training process never ends....

This uses Q-learning to train two agents to play pong against each other. Best Q-table is inside '/qtables/best_ones/' ... but not best yet. Next step will be to use deep Q-learning (DQN).

Run 'qlearning_pong.py' to see the agents play.... Training can be done using same code by disabling "PLAY" flag in the code.

About

Classic pong game is developed using pygame and played by two AI agents competing each other.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages