This is a Chess application built with Java and JavaFX, following an object-oriented design to handle chess rules, piece movements, and the graphical user interface.
The project is organized into several packages:
chess.main.sample.figures: Contains the baseFigureandMovementclasses, as well as specific figure implementations (King, Queen, Bishop, Knight, Rok, Pawn).chess.main.sample.game: Handles game-level logic like turn switching and selection management.chess.main.sample.guimanage: Manages the JavaFX UI, including layout and event handling.chess.main.sample.manage: Contains theDeckManagerwhich enforces chess rules like check and move legality.chess.main.sample.storage: Manages the state of the chessboard and piece positions.chess.main.sample.utils: Provides utility methods for coordinate conversions and validation.
The project uses Maven for dependency management and build automation.
mvn clean compilemvn javafx:runmvn test- Full implementation of standard chess piece movements.
- Move validation including check detection and pinning.
- JavaFX-based graphical interface.
- Support for both white and black pieces.