This project was completed as a final project for the University of Maryland's CMSC421 course (Intro to AI) under the instruction of Max Ehrlich. It is a reinforcement learning Connect 4 agent.
core
: Contains the core classes and logic for Q-learning.training
: Contains Q-learning training script and Jupyter Notebook used to train the neural network.- human.py: The command line test utility for Q-learning policies.
- frontend.py: The GUI for the user to play against the final model.
To play on your own device...
- Clone the repository
pip install -r requirements.txt
python frontend.py