human
What are the basic rules for playing chess?
assistant
The basic rules of chess are as follows:
1. Each player starts the game with 16 pieces: one king, one queen, two rooks, two bishops, two knights, and eight pawns.
2. The objective of the game is to checkmate the opponent's king.
3. Players take turns moving one of their pieces per turn.
4. No piece can jump over another piece.
5. A pawn can move two squares on its first move and one square on any subsequent move.
6. Castling is when you move the king two squares towards one of the rooks and the rook moves to the other side of the king in one turn.
7. A bishop can only move diagonally.
8. A knight can move to any of the 8 squares adjacent to it in an L-shape.
9. A rook can move horizontally or vertically.
10. A queen can move in any direction, horizontally, vertically or diagonally.
11. The king can move in any direction, but only one square per turn.