Chess is played on an 8x8 grid board with alternating dark and light squares. Each player starts with 16 pieces: one king, one queen, two rooks, two knights, two bishops, and eight pawns. Here are the basic rules:
1. **Objective**: The primary objective is to checkmate your opponent's king, which means the king is in a position to be captured (in check) and cannot escape capture.
2. **Starting position**: White moves first, then players alternate turns. Each piece moves according to specific rules.
3. **Movement**:
- The king moves one square in any direction.
- The queen moves any number of squares in a straight line horizontally, vertically, or diagonally.
- Rooks move any number of squares horizontally or vertically.
- Bishops move any number of squares diagonally.
- Knights move in an L-shape: two squares in one direction and then one square perpendicular.
- Pawns move forward one square, but capture diagonally. On their first move, they have the option to move forward two squares. Pawns can also perform a special move called en passant and promote to any other piece (except a king) if they reach the opposite end of the board.
4. **Check and checkmate**:
- Check occurs when the king is under threat of capture by an opponent's piece.
- Checkmate happens when the king is in check and there is no legal move to escape capture. The game ends, and the player in checkmate loses.
5. **Stalemate**: If a player has no legal moves and their king is not in check, it's a stalemate, and the game is a draw.
6. **Draws**:
- Draw by agreement: Either player can propose a draw, and if the other agrees, the game ends.
- Draw by insufficient material: If neither player has enough pieces to checkmate (e.g., king vs. king, king and bishop vs. king, etc.).
- Draw by repetition: If the same position occurs three times with the same player to move.
- Draw by the 50-move rule: If 50 moves are made by each player without a pawn move or capture, a player can claim a draw.
7. **Special moves**:
- Castling: A king and one rook move simultaneously under certain conditions.
- En passant: A pawn capturing a pawn that has moved two squares forward from its starting position.
8. **Promotion**: When a pawn reaches the opposite end of the board, it can be exchanged for any other piece (except a king).
These are the basic rules of chess. Advanced strategies and tactics involve understanding the value of pieces, controlling the center, pawn structure, and more.