"The beauty of a move lies not in its appearance but in the thought behind it."
- Full chess board with all pieces (King, Queen, Rook, Bishop, Knight, Pawn)
- Beautiful GUI with Unicode chess symbols
- Valid move checking for all pieces
- Turn-based gameplay
- Visual feedback for selected pieces
- New game option
- Double-click
compile.batto compile the project - Double-click
run.batto start the game
# Compile
javac -d bin src/chess/*.java src/chess/pieces/*.java
# Run
java -cp bin chess.Main- The game starts with White's turn
- Click on a piece to select it (you can only select your own pieces)
- Click on a destination square to move the piece
- The game validates moves according to chess rules
- Players alternate turns
- Click "New Game" to restart
src/
chess/
Main.java - Entry point
ChessGUI.java - GUI implementation
Game.java - Game logic
Board.java - Board management
Cell.java - Individual cell/square
Player.java - Player information
pieces/
Piece.java - Abstract piece class
King.java - King piece
Queen.java - Queen piece
Rook.java - Rook piece
Bishop.java - Bishop piece
Knight.java - Knight piece
Pawn.java - Pawn piece
- Left Click: Select piece / Make move
- New Game Button: Start a new game
Enjoy playing chess!