Welcome to the Chess Game developed in Java! This project implements a complete and fully functional chess game with special movements, including promotion and other advanced features. Whether you're a chess enthusiast or a Java developer looking to explore game development, this project provides a solid foundation.
- Complete chess game implementation.
- Special movements, including promotion.
- User-friendly interface for gameplay.
- Console-based interface for a straightforward experience.
- Well-documented code for easy understanding and modification.
- Java Development Kit (JDK) 8 or higher.
- Terminal or Command Prompt for running the game.
- Clone the repository to your local machine (or download the ZIP file).
- Navigate to the project directory.
- Compile the Java files.
- Run the game.
- Enjoy playing chess!
- Use the console interface to input your moves.
- The game provides prompts for selecting and moving pieces.
- Follow standard chess rules for gameplay.
-
Promotion: When a pawn reaches the eighth rank, it can be promoted to any other piece (queen, rook, bishop, or knight).
- Example:
e7e8Qpromotes the pawn at e7 to a queen.
- Example:
-
Other Movements: Castling, en passant, and other special movements are implemented according to standard chess rules.
- The code is organized into classes for easy maintenance and readability.
- Classes include
ChessGame,Board,Piece, and others. - Comments are provided to explain the functionality of each method and class.
If you would like to contribute to the project, please follow the standard GitHub workflow:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make changes and commit them with descriptive messages.
- Push your branch to your fork.
- Open a pull request with a detailed explanation of your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to explore the code, contribute improvements, or use it as a starting point for your own projects. Happy coding!