Skip to content

mmasenheimer/chess-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A multithreaded chess engine built with Python and Pygame, featuring a full ruleset implementation, move validation, and an AI opponent powered by the NegaMax algorithm with alpha-beta pruning.

**https://mmasenheimer.itch.io/chess-engine Install the exe file and play!

Hit "r" for board reset and hit "z" to undo the previous move!

To set the AI/Human players, navigate to Chess > ChessMain.py and set the Player one or player two variables = true or false depending on if you want a human playing or an ai playing, respectively. For the level of the AI, navigate to Chess > moveFinder > and set the depth to levels 1-4. (Note with depths higher than 4, the algorithm will take substantially longer to process moves).

Alternative local installation:

Clone the repository: git clone https://github.com/yourusername/chess-engine.git

install the dependencies in a terminal: pip install pygame

About

This is a python project building a chess game and engine from the ground up

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages