Skip to content

an implentation of the rules of chess in python along with stockfish engine

License

Notifications You must be signed in to change notification settings

MuhammadAhmadMirza/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Game

This project is an implementation of the Rules of Chess in Python, using Pygame for the graphical interface. The game supports various features such as FEN Import/Export, Engine Analysis with Stockfish, customizable depth for engine analysis, Flip POV, and a Light/Dark theme toggle. It was made for my educational purposes so its not pretty.

A class used in this code is similar although modified and changed compared to this github repo

Chess

Features

  • FEN Import/Export: Import and export the board state using the Forsyth-Edwards Notation (FEN) format.
  • Engine Analysis: Utilize the Stockfish chess engine to analyze the game position with customizable analysis depth.
  • Undo/Redo
  • Flip POV: Flip the board's point of view to play as either player.
  • Light/Dark Theme: Toggle between light and dark themes for the user interface.

Prerequisites

  • Python 3.x

Required Libraries

  • pygame
  • pyperclip
  • psutil
  • chess

To install the required libraries, you can use the following command:

pip install -r requirements.txt

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

an implentation of the rules of chess in python along with stockfish engine

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages