This is a Chess Game implemented in C# using the Windows Presentation Foundation (WPF) framework. The game follows the standard rules of chess and provides a user-friendly interface for playing against another player locally.
- Classic chess gameplay with standard rules.
- User-friendly interface built with WPF.
- Highlights legal moves for pieces when selected.
- Keeps track of game state, including check and checkmate conditions.
- All special rules included (En Passant, Fifty-Move Rule, Threefold Repetition).
- Sound effects for every interaction.
- Responsive design for different screen sizes.
- Clone the repository:
git clone https://github.com/AndreiE91/Chess-Game.git
Open the solution file ChessGame.sln in Visual Studio. Build the solution (Ctrl+Shift+B) to restore NuGet packages and build the project. Start the application by running the project (F5).
Upon starting the application, the chessboard is displayed along with the pieces in their starting positions.
Click on a piece to select it. Legal moves for the selected piece will be highlighted.
Click on a highlighted square to move the selected piece there.
The game ends when a player's king is in checkmate, or when players agree to a draw by pressing ESC and "RESTART".
To start a new game, use the "RESTART" button in the ESC menu.
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
1.Fork the repository.
2.Create a new branch (git checkout -b feature/new-feature).
3.Make your changes and commit them (git commit -am 'Add new feature').
4.Push to the branch (git push origin feature/new-feature).
5.Create a new Pull Request.
This Chess Game project is maintained by AndreiE91.