White always moves first. After the initial move, the players alternately move one piece at a time (with the exception of castling, when two pieces are moved). Pieces are moved to either an unoccupied square or one occupied by an opponent’s piece, which is captured and removed from play. With the sole exception of en passant, all pieces capture opponent’s pieces by moving to the square that the opponent’s piece occupies. A player may not make any move that would put or leave his king under attack. If the player to move has no legal moves, the game is over; it is either a checkmate (a loss for the player with no legal moves)—if the king is under attack—or a stalemate (a draw)—if the king is not.
Each chess piece has its own style of moving. In the diagrams, the dots mark the squares where the piece can move if no other pieces (including one’s own piece) are on the squares between the piece’s initial position and its destination.
- The king moves one square in any direction. The king has also a special move which is called castling and involves also moving a rook.
- The rook can move any number of squares along any rank or file, but may not leap over other pieces. Along with the king, the rook is involved during the king’s castling move.
- The bishop can move any number of squares diagonally, but may not leap over other pieces.
- The queen combines the power of the rook and bishop and can move any number of squares along rank, file, or diagonal, but it may not leap over other pieces.
- The knight moves to any of the closest squares that are not on the same rank, file, or diagonal, thus the move forms an “L”-shape: two squares vertically and one square horizontally, or two squares horizontally and one square vertically. The knight is the only piece that can leap over other pieces.
- The pawn may move forward to the unoccupied square immediately in front of it on the same file; or on its first move it may advance two squares along the same file provided both squares are unoccupied; or it may move to a square occupied by an opponent’s piece which is diagonally in front of it on an adjacent file, capturing that piece. The pawn has two special moves: the en passant capture and pawn promotion.