Skip to content

flaviosantospqri/chess-game-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Game Development in Java

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.

Features

  • 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.

Requirements

  • Java Development Kit (JDK) 8 or higher.
  • Terminal or Command Prompt for running the game.

How to Run

  1. Clone the repository to your local machine (or download the ZIP file).
  2. Navigate to the project directory.
  3. Compile the Java files.
  4. Run the game.
  5. Enjoy playing chess!

Gameplay

  • Use the console interface to input your moves.
  • The game provides prompts for selecting and moving pieces.
  • Follow standard chess rules for gameplay.

Special Movements

  • Promotion: When a pawn reaches the eighth rank, it can be promoted to any other piece (queen, rook, bishop, or knight).

    • Example: e7e8Q promotes the pawn at e7 to a queen.
  • Other Movements: Castling, en passant, and other special movements are implemented according to standard chess rules.

Code Structure

  • 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.

Contributing

If you would like to contribute to the project, please follow the standard GitHub workflow:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make changes and commit them with descriptive messages.
  4. Push your branch to your fork.
  5. Open a pull request with a detailed explanation of your changes.

License

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!

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages