Welcome to ChessGame, a simple yet engaging chess game implemented in Java using the Swing framework. This application allows users to play chess against each other on a graphical user interface.
-
Graphical User Interface: Utilizes Java Swing for a user-friendly interface.
-
Two-Player Mode: Play chess with a friend on the same computer.
-
Classic Chess Rules: The game follows the standard rules of chess, including en passant, castling, and pawn promotion.
-
Move Highlighting: Highlights valid moves for a selected chess piece.
- Java Development Kit (JDK) 8 or later installed on your system.
-
Clone the Repository:
git clone https://github.com/MrMDrX/ChessGame.git
-
Navigate to the Project Directory
-
Compile the Code
-
Run the Game:
-
Launch the game by following the instructions in the "How to Run" section.
-
A chessboard will appear on the screen with pieces arranged in their starting positions.
-
Click on a piece to select it. Valid moves will be highlighted.
-
Click on a highlighted square to make a move.
-
Continue taking turns until the game concludes with a checkmate, stalemate, or other result.
-
The game provides a basic graphical representation of the chessboard and pieces.
-
Input validation is implemented to ensure moves adhere to standard chess rules.
-
Have fun playing ChessGame, and may the best strategist win!
This chess game was developed by @MrMDrX. Feel free to contribute, report issues, or suggest improvements. Thank you for playing!