Skip to content

Reinforcement learning & AI techniques applied to ConnectFour

Notifications You must be signed in to change notification settings

1yian/ConnectFourRL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConnectFourRL

Codebase for a reinforcement learning based approach to creating a Connect Four AI

Project Status

The project is currently in development. Right now I have implemented a variant of off-policy actor-critic, and pUCT Monte-Carlo Tree Search (MCTS) to use the actor-critic predictions as the basis of a lookahead search. This use of MCTS is used in a similar way to AlphaZero. My future work involves:

  • Refactoring the codebase
  • Implementing a variant of the AlphaZero algorithm
  • Implementing DQN, and various algorithms
  • Writing a survey paper on various RL approaches in this environment

To test my work so far, clone down this repository. You will need an environment with torch, numpy, and tensorboard installed.

Try python3 test.py.

A graphical interface for the game should pop up, where you can then play against my agent to see how well it performs against you in ConnectFour.

About

Reinforcement learning & AI techniques applied to ConnectFour

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages