Skip to content

A Connect 4 AI that learns from scratch via self-play deep reinforcement learning.

Notifications You must be signed in to change notification settings

shokiami/AlphaFour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlphaFour

A Connect Four AI that learns from scratch via self-play deep reinforcement learning.

Training:

python3 train.py

Running:

python3 main.py

Results (~9 hours of training):

Generation 0 vs. Optimal Player:

Generation 5 vs. Optimal Player:

Generation 10 vs. Optimal Player:

Generation 20 vs. Optimal Player:

Generation 20 vs. Optimal Player w/ 1 Mistake:

About

A Connect 4 AI that learns from scratch via self-play deep reinforcement learning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages