Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andreie91/chess-game
A Chess Game implemented in C# using the Windows Presentation Foundation (WPF) framework.
https://github.com/andreie91/chess-game
chess chess-game chessboard
Last synced: about 16 hours ago
JSON representation
A Chess Game implemented in C# using the Windows Presentation Foundation (WPF) framework.
- Host: GitHub
- URL: https://github.com/andreie91/chess-game
- Owner: AndreiE91
- Created: 2024-01-30T20:59:36.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-02-10T16:02:14.000Z (9 months ago)
- Last Synced: 2024-02-10T17:21:53.154Z (9 months ago)
- Topics: chess, chess-game, chessboard
- Language: C#
- Homepage:
- Size: 19.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chess-Game
![GIF chess](Screenshots/chess_gif.gif)
## Description
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.
Starting Position
Checkmate
## Features
- 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.
En Passant
Stalemate
Pawn Promotion
## Getting Started
1. **Clone the repository:**
```bash
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).## Usage
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.## Contributing
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.## Credits
This Chess Game project is maintained by AndreiE91.