
Chess originated in India during the 6th century. Back then it was known as Chaturanga.
In order to make the king safe, for once, each player is allowed to move the king and the rook at the same time, to push the king behind the pawns to safeguard the king. This is called castling.
Castling can be done on both sides, the shorter side is called short castling, and when done towards the longer side, it is called long castling.
En Passent is one of the least-known rules of chess. En passent rule says if the black pawn is on the 5th row and white moves a pawn next to this black pawn by two squares then the black may take that pawn only and only on the next move. Check the below images
![]() | ![]() | ![]() |
In Image one, it's white turn and white pushed his e2 pawn to e4 (image 2). Now black can only now(not later) capture this pawn in the same way as if was played on e3. Black can Capture this pawn by playing his pawn to e3. This is called en-passent.
When one player plays a piece to such a square from where it attacks the opponent's king then in honor of the king, the player has to say “Check”. This means the opponent will have to save his king first, either by moving the king to a safe square or by blocking the attack with another piece. In such a condition, we say that opponent is under check. Look at the below image.

For checkmate, One player has to give a check to the opponent's king in such a way that the opponent can't save his king. This is called Checkmate. Look at the below image

White just played his rook to g1 square and gives a check to black. Now black will have to save his king. But unfortunately, all available squares are covered by white, hence black can't save his king. This is checkmate.
A game is considered a draw in the below-given conditions
If it is the player's turn but he/she doesn't have any legal move, It is called a stalemate. Check the below image for such a situation:

In the above-given position, if it is the white's turn then It will be drawn by stalemate as the white player doesn't have any legal move. All squares for the king are covered by the black king and the pawn's path is blocked by its own king.