Skip to content

Latest commit

 

History

History

Chess

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Chess

Yes!!! Another chess engine as if there aren't enough on the Internet. And since I have played a handful of games till date with zero wins, so it was time I finally taught the computer to play it for me. (´。_。`)





Index

About

This project includes a full chess engine, gui engine, and an AI engine. The AI engine utilizes the minimax and alpha beta pruning algorithms.

Usage

To install this project, make sure you have the correct version of Python and Pygame.

Installation

  • Switch to Python3.
  • Follow the code below to create virtual environment and install the necessary libraries.
git clone https://github.com/crypticsy/Playground
cd ./Game_Engine/Chess/
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Commands

  • To start the game, run python ChessMain.py, then select the game mode you want to play in the command line.
  • To undo a move, press z.
  • To reset the board, press r.