Skip to content

developing a chess engine that solves checkmate puzzles

Notifications You must be signed in to change notification settings

ahmadnazeri/cs221_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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.

  1. Leveraging Jupyter Notebooks
  2. 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

About

developing a chess engine that solves checkmate puzzles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published