This is a Maven-based chess project developed using JavaFX to provide a user-friendly, graphical chess interface. The project allows users to play chess with full drag-and-drop or click functionality to move pieces. Legal moves are highlighted when a piece is selected, ensuring adherence to chess rules.
- Graphical User Interface (GUI): Built using JavaFX, offering an intuitive experience for interacting with the game.
- Mouse Interaction: Drag-and-drop pieces or click a piece and then a square to move.
- Legal Moves Highlighting: When a piece is selected, its possible legal moves are highlighted for easy reference.
- Complete Chess Rules: Enforces all standard chess rules including check, checkmate, castling and pawn promotion.
- Java JDK 17 or higher: The project uses Java 17, as specified by the
<release>17</release>configuration in the Maven Compiler plugin. - Maven 3.8 or higher: Ensure Maven is installed to handle project dependencies and building.
- JavaFX 19: This project relies on JavaFX for the graphical user interface. You need JavaFX version 19, as specified in the dependencies section.
- JUnit 5.7: The project uses JUnit for testing, specifically version 5.7.0.
- Run ChessApp.java in VSCode
