A chess game developed in Java featuring a graphical user interface and an AI powered by the Minimax algorithm with Alpha-Beta pruning.
- Game Modes: Human vs. Human and Human vs. Computer
- Difficulty Levels: Easy, Medium, Hard mode for Human vs. Computer
- Graphical Interface: Interactive Java Swing GUI with a visual chessboard and pieces
- AI Implementation: Utilizes Minimax algorithm with Alpha-Beta pruning for computer opponent
- Chess Rules Compliance:
- Check and checkmate detection
- Castling
- En passant
- Pawn promotion
- Undo and Redo: Supports undoing and redoing moves during gameplay
- Modular Design: Organized into
Board,Pieces,GameLogic, andPlayerscomponents - Ease of Use: Simple to compile, run, and extend
- Java Development Kit (JDK) 17 or later
makeutility installed and accessible in your system's PATH
git https://github.com/Avadhoot4757/Chess.git
cd Chessmakemake runmake cleanNote: Ensure that Java and
makeare properly installed before building or running the project.
- Support saving and loading games in PGN format
- Add multiplayer support over LAN or internet
- Introduce sound effects and timers