/finalproject_chessgame-checkmate

finalproject_chessgame-checkmate created by GitHub Classroom

Primary LanguageJava

Review Assignment Due Date

Chess Game

This project is an implementation of a basic chess game using Java Swing. The game features a graphical user interface that allows players to select and move pieces on the board, and includes basic game rules such as checking, capturing, and castling.

Screenshots

Here are some screenshots of my project:

Screenshot 1

Getting Started

To run the game, clone the repository to your local machine and compile and run the Main.java class using your preferred Java compiler.

Playing the Game

To play the game, simply click on a piece to select it, and then click on a highlighted square to move the piece to that location. If a move is invalid, the selected piece will return to its original location and an error message will be displayed.

The game includes basic chess rules such as checking, capturing, and castling. If a player's king is in check, the game will display a warning message. If a player's king is in checkmate, the game will display a message declaring the winner.

Customization

The game includes several customizable parameters that can be adjusted in the Chess constructor in the Main class, including:

  • player1Name and player2Name: the names of the two players
  • Theme: we have two aesome themes (Dark - Green)

Additional customization options can be added by modifying the source code.

Credits

The game was created by Checkmate team.

  • Mahmoud Bahaa AlDeen
  • Yassin Mohammed Moustafa
  • Youssef Mohammed Fathy
  • Moustafa Mohammed mousa
  • Karim Ebrahim Elbadawy

Grantt Chart

the tasks of the prject are clarified here ! https://sharing.clickup.com/9009137056/l/h/8cft1d0-300/6ff7353fe7cab00