Loading repository data…
Loading repository data…
anishghanwat / repository
A classic chess game built in Java using Swing. Play locally with full support for all chess rules — including castling, en passant, promotion, and checkmate detection.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
A simple, fully functional chess game implemented in Java using Swing. Play classic chess against another player on the same computer, with all standard rules supported.
Add screenshots here if available
javac -d out src/main/*.java src/piece/*.java
java -cp out main.Main
Main.java from your IDE.src/
main/
Main.java # Entry point
GamePanel.java # Main game logic and rendering
Board.java # Board drawing
Mouse.java # Mouse input handling
Type.java # Piece type enum
piece/
Piece.java # Base class for all pieces
Pawn.java # Pawn logic
Rook.java # Rook logic
Knight.java # Knight logic
Bishop.java # Bishop logic
Queen.java # Queen logic
King.java # King logic
This project is licensed under the MIT License.