Skip to content

A full game engine with GUI developed using minimax and alpha beta pruning algorithms.

License

Notifications You must be signed in to change notification settings

karmasta13/chess-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Engine

As someone who had no idea on chess, I needed a partner to learn it. What better partner than the intelligent computer? So, I taught computer to play the chess and in the same way learnt it with it.





Index

About

This project is built on the python programming language, which is an interpreted high-level general-purpose programming language used to develop a chess system based on “Adversarial Search and Games.” This system uses alpha-beta pruning which is a standard minimax algorithm.

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/karmasta13/Chess-Engine.git
cd ./Chess-Engine/
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.

About

A full game engine with GUI developed using minimax and alpha beta pruning algorithms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages