Skip to content

Implementing chess game with alpha beta pruning in Python

Notifications You must be signed in to change notification settings

pard1s/AI-chess-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-chess-python

Implementing chess game with alpha beta pruning and in Python

chess game screenshot

To make chess moves, this game employs AI 'Alpha-beta pruning' algorithms. ChessEngine.py contains the game logics, while ChessAi contains the ai pruning algorithm, which is used to prune moves that are unlikely to result in a win. At the start of the game, you can select a difficulty level from 1 to 3. The final outcome is either 'checkmate' or 'stalemate.' You can only move pieces in highlighted squares determined by the validmoves function. You can also undo your actions and restart the game.

Releases

No releases published

Packages

 
 
 

Languages