Chess Game is a Java application that allows users to play the classic game of chess. It provides a graphical interface for playing the game and follows the standard rules of chess.
Chess is a two-player strategy board game played on a checkered gameboard, with each player controlling an army of pieces. The objective is to checkmate the opponent's king, where the king is under attack and cannot escape capture.
This project implements a graphical version of chess using Java, allowing players to make moves and enjoy the game interactively.
- Graphical user interface for playing chess.
- Standard chess rules implemented, including piece movements and captures.
- Interactive gameplay with mouse-based moves.
- JDK 20 or later: Ensure you have JDK 20 or a newer version installed.
- Java Swing Library: Utilizes Java's Swing library for GUI components.
-
Clone the Repository:
git clone https://github.com/your-username/chess-game.git cd chess-game
javac ChessGame.java
java ChessGame
- Launch the application and start a new game.
- Use the mouse to select and move chess pieces according to the game rules.
We welcome contributions from the community! If you'd like to contribute to this project, please follow our Contribution Guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.