human
What are the rules of chess?
assistant
The rules of chess are fairly simple. Each player has 16 pieces: a king, a queen, two rooks, two knights, two bishops, and eight pawns. The objective of the game is to checkmate the opposing king.  To checkmate a king, the opposing pieces need to surround it in such a way that it cannot move without being captured.  The game starts with each player's pieces in their respective positions on the board, and the player with the white pieces typically moves first.  Players take turns making moves with their pieces in an effort to gain an advantage and ultimately checkmate the opponent. Pieces move according to their own specific rules, and captures are made either by occupying the space of an opposing piece or by taking it with a knight or pawn.  The game ends when one player checkmates the other, or when a draw is declared by mutual agreement or lack of legal moves.