This project is a classic chess game developed using JavaFX and AWT, managed with Maven. It provides a fully functional chess game with an interactive graphical user interface, allowing two players to enjoy a traditional game of chess.
- Interactive GUI: Built with JavaFX for a modern and responsive user experience.
- Graphics Handling: Utilizes AWT for handling game graphics.
- Game Logic: Includes all standard chess rules, valid moves, and check/checkmate detection.
- Player vs. Player Mode: Allows two players to play against each other on the same device.
- JavaFX: For building the user interface.
- AWT: For handling the graphics.
- Java Development Kit (JDK) 8 or later
- Maven
-
Clone the repository:
git clone https://github.com/Mwauracollins/chess-game-java.git cd chess-game-java
-
Run the application:
- Launch the application and start a new game.
- Move pieces by clicking on them and selecting the destination square.
- Enjoy a game of chess against another player!
Contributions are welcome! Please fork the repository and submit a pull request with your changes. Ensure your code follows the project coding standards and includes appropriate tests.
This project is licensed under the MIT License - see the LICENSE file for details.