#cs221_project
##Chess Solver The goal of this project was to develop a chess engine that would solve chess puzzles that resulted in checkmate.
###Setup Steps: You will need Python3 installed on your computer. Please use Python.org to install Python3. As well as git.
Step 1: Clone the repo & cd
to repo directory
git clone https://github.com/ahmadnazeri/cs221_project.git
cd cs221_project
Step 2: Create a Virtual Environment
python3 -m venv .venv
Step 3: Activate Virtual Environment
source .venv/bin/activate
Step 4: Install dependencies
pip install -r requirements.txt
###Running the Program: There are two ways to run the program.
- Leveraging Jupyter Notebooks
- Command Line
####Jupyter Notebooks
While being in cs221_project
directory and virtual environment
jupyter notebook
Then on your browser, go to the notebooks folder and select the notebook you want to run.
####Command Line
While being in cs221_project
directory and virtual environment
python3 main.py
####Data
In order to make the raw data in a clean format; you can leverage the clean_data.py
cd resources
python3 clean_data.py