Skip to content

A full Python GUI chess engine with AI using tkinter and python-chess. Includes Minimax, board evaluation, move history, and captured pieces.

Notifications You must be signed in to change notification settings

Hinetziedacted/Chess_engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Chess Engine GUI

A modern, lightweight chess engine with a graphical user interface (GUI), developed entirely in Python. Features AI opponent, real-time move analysis, and a clean, user-friendly interface.

Features

  • Full GUI: Built using tkinter for a responsive, cross-platform interface.
  • AI Opponent: Implements Minimax algorithm with alpha-beta pruning (search depth adjustable for difficulty).
  • Positional Evaluation: Piece-square tables for realistic move analysis and strength (estimated ~1200–1600 Elo).
  • Move History: Track all moves with algebraic notation.
  • Captured Pieces: Visual tracking of material balance during play.
  • Board Flip, Undo, and Reset: Flexible controls for both practice and analysis.
  • Load FEN: Supports custom starting positions and chess puzzles.
  • Lightweight & Fast: Designed to run on any modern laptop without external dependencies beyond python-chess and Pillow.

Academic Value

This project demonstrates practical knowledge of:

  • Python programming (data structures, GUI, modularity)
  • Software design (clean code, user experience)
  • Application packaging and open-source workflow

Screenshots

image

How to Run

  1. Clone this repository
  2. Install dependencies:
    pip install python-chess pillow
  3. Ensure you have the images:
    • Place PNGs for all chess pieces (wp.png, bn.png, etc.) in an images/ folder.
  4. Run:
    python Full_GUI_Chess_Engine.py

Piece Images

You’ll need the following PNGs in your images/ folder:

wb br bq bp bn bk bb wr wq wp wn wk

About

A full Python GUI chess engine with AI using tkinter and python-chess. Includes Minimax, board evaluation, move history, and captured pieces.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages