human
Can you explain the rules of chess?
assistant
Chess is a game played on a board made up of 64 squares. It is played by two players, with each player having 16 pieces – one king, one queen, two rooks, two knights, two bishops, and eight pawns. The goal of the game is to capture the opponent's king, which is done by threatening it with capture, where the king cannot move or be protected. The rules of the game are fairly simple. Each piece on the board is allowed to move in a different way, with the most powerful pieces the Queen and the Rook able to move any number of squares. Pawns can only move forward and capture other pieces by moving diagonally one square. When a piece is captured, it is removed from the board. The game ends when one player successfully captures their opponent's king.