Skip to content

troyxdp/AI-Project-ConnectFour

Repository files navigation

ConnectFour

Welcome to my AI Project for my Honours Year at UJ! This project is a ConnectFour agent that is trained using Deep Q-learning with handwritten neural network code.

To run this project, you will need NumPy installed. You can do so by running the following command:

pip install numpy

To train a new agent, set the hyperparameters in hyperparameters.yaml, and run the following command:

python train.py

To play against an agent that you have trained, run the following command:

python play_agent.py

You will be prompted to input the path to the directory of the network you have trained.

About

A Connect Four agent trained using Reinforcement Learning, specifically Deep Q Learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages