human
What are the rules of chess?
assistant
The rules of chess are as follows: 
1. The game is played on a square board made up of 64 alternating light and dark squares.
2. Each player starts with 16 pieces: one king, one queen, two rooks, two knights, two bishops, and eight pawns.
3. The goal of the game is to capture the opponent’s king.
4. Pieces can move one square at a time except for knights which have the ability to “jump” over other pieces.
5. Pawns can only move forward but capture pieces diagonally.
6. When a king is threatened, it is considered “in check” and the other player must get it out of check.
7. A stalemate is reached when a player is unable to move to get out of check.
8. The game is over when a king is captured or when a stalemate is reached.