TMChess is a multiplayer chess game built with Java, featuring real-time gameplay, move validation, history tracking, and a well-designed GUI. It supports early checkmate detection, check validation, castling, and color-highlighted move indicators.
- Multiplayer Chess: Play against another player in real time.
- Move Validation: Ensures only legal moves are allowed.
- Check & Checkmate Detection: Alerts players when the king is in check or checkmate.
- Castling Fixes: Fixed UI and logic bugs for castling.
- Highlighted Moves:
- Green → Possible moves
- Red → Capture moves
- Golden Yellow → Castling moves
- Move History Table: Tracks all moves made during the game.
- Flipped Board for Black Player: Adjusts the board view for each player.
- Server-Client Architecture: Runs on a dedicated server for seamless play.
- Member & Inbox Tables: Manage active players and game invites.
Get the latest release from TMChess Releases.
Before starting the game, launch the server:
java -jar build/libs/TMChess-Server.jar
Each player should run the client with the their username and password:
java -jar build/libs/TMChess-Client.jar <username> <password>
Example:
java -jar build/libs/TMChess-Client.jar Daniyal daniyal
- Create a match and invite an opponent.
- Make legal moves while avoiding self-check.
- Capture, check, or checkmate your opponent!
✅ Player Turn Highlighting: All pieces of the current player are now highlighted with a Cyan border to indicate their turn.
✅ Smooth UI Updates: Borders reset correctly when a piece is selected, ensuring a clear and responsive interface.
✅ Improved Game Flow: Enhanced visibility for active pieces, making it easier to plan moves.
✅ Minor UI Fixes & Refinements: Optimized rendering for a more polished experience.
✅ Fixed King Castling Bug (caused by a single line of code, took an hour to find in the wrong file 😆).
✅ Updated GUI Highlights (Green for moves, Red for captures, Golden Yellow for castling).
✅ Move History Table implemented for tracking all game moves.
✅ Various bug fixes & UI improvements.
- Core multiplayer chess functionality.
- Basic move validation and piece movement.
- Early checkmate detection.
- Add support for en passant and stalemate detection.
- Improve AI-based move suggestions.
- Implement time controls for competitive play.
- Mobile & Web versions (in the future 🚀).
Want to contribute? Fork the repo and submit a pull request!
For issues or feature requests, reach out at [email protected].
GitHub: Mohammeddaniyal
♟️ Enjoy Playing TMChess! 🏆