Skip to content

A playable chess game with AI Bots made with Python

Notifications You must be signed in to change notification settings

AkshayTG03/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Chess

A playable chess game with AI Bots made with Python. GUI with pygame and features usage of FEN notation to play any position. Made on Pycharm Community Edition. Python Interpreter: 3.10 Made by Akshay as a hobby project to understand working with python and to learn the usage of efficient data structures and algorithms to quickly find best possible moves by the AI bot.

Completed Features:

  • Basic moves of pieces
  • Special rules like castling and enpassant and promotion of pawn on the back rank
  • Playable GUI with pygame
  • Checking of game states such as checkmate, stalemate etc.

Screenshots:

chess

Todo:

  • AI
    • Evaluation function - To evaluate a given position and find how favourable it is to white or black
    • Loop through all possible moves and use evaluation function to find the best move
    • Implement alpha beta pruning to make the algorithm faster
  • Timers
  • More GUI to display information
  • Changes to GUI to display previous moves, display differently the square of a capture move.
  • GUI resolution and scaling

About

A playable chess game with AI Bots made with Python

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages