Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added AI chess game #405 #414

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/Games/chess/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
game:
This is chess game

Description:
Chess is a strategic board game played between two opponents on a square board divided into 64 squares of alternating colors.
The objective of the game is to checkmate the opponent's king, putting it in a position where,
it is under attack and cannot escape capture.

Functionalities:
1.Piece Movement:
A chess game allows players to move their pieces according to the rules of the game.
Each piece has its specific movement capabilities, and players can select and move their pieces across the board during their turn.

2.Capturing Opponent's Pieces:
The game enables players to capture their opponent's pieces by moving their own pieces to the same square occupied by an opponent's piece.

3.Check and Checkmate:
The chess game incorporates the concept of "check" and "checkmate." When a player's king is under direct attack, it is in "check."
The objective is to create a situation where the opponent's king is in checkmate, meaning it is under attack and cannot escape capture.
The game notifies players when a check or checkmate occurs.

![Screenshot](https://github.com/Yashoda2003/Games-and-Go/assets/116747256/10fac2bd-dd0c-409a-b04a-d7f54f3f997f)
71 changes: 71 additions & 0 deletions src/Games/chess/drs/index.html

Large diffs are not rendered by default.

Loading