A simple chess game implemented in Java with a graphical user interface using Swing.
- Full chess game implementation
- Graphical user interface
- Move validation for all pieces
- Turn-based gameplay
- Visual indication of selected pieces and possible moves
- Make sure you have Java installed on your computer
- Clone this repository
- Compile the source files:
javac -d out src/*.java- Run the game:
java -cp out ChessGUI- Click on a piece to select it
- Valid moves will be highlighted in green
- Click on a highlighted square to move the piece
- Take turns between white and black pieces
src/- Source code filesres/- Resource files (piece images)out/- Compiled class files
[Screenshots will be added later]