How do you play chess?
Chess is a game that is played on a checkerboard, which is composed of 64 alternating black and white squares that indicate where a player's pieces can be placed. There are six different types of pieces in chess, including: Pawns, Rooks, Bishops, Knights, a Queen, and a King. Each of these pieces can move on the board in different ways. The goal of the game is to utilize your pieces to capture your opponent's king. In a game of chess, players alternate turns moving one piece at a time. When a player moves a piece, they are either positioning the piece on an open square where no other piece is currently on, or they are capturing an opponent's piece. To win a game of chess, players will balance strategically positioning their pieces and capturing their opponent's pieces. Doing so will allow a player to have the opportunity to put their opponent in a position called "Checkmate". When a player is checkmated, it means that their King is in an attacking line of one or more of their opponent's pieces and they have no legal moves to escape this attack. If a player is checkmated, they have lost the game.
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------

----------------
Answer the following query.
How do you play chess?

user
Chess is a game that is played on a checkerboard, which is composed of 64 alternating black and white squares that indicate where a player's pieces can be placed. There are six different types of pieces in chess, including: Pawns, Rooks, Bishops, Knights, a Queen, and a King. Each of these pieces can move on the board in different ways. The goal of the game is to utilize your pieces to capture your opponent's king. In a game of chess, players alternate turns moving one piece at a time. When a player moves a piece, they are either positioning the piece on an open square where no other piece is currently on, or they are capturing an opponent's piece. To win a game of chess, players will balance strategically positioning their pieces and capturing their opponent's pieces. Doing so will allow a player to have the opportunity to put their opponent in a position called "Checkmate". When a player is checkmated, it means that their King is in an attacking line of one or more of their opponent's pieces and they have no legal moves to escape this attack. If a player is checkmated, they have lost the game.
assistant