Moves and Rules in Chess
Each of the six different chess pieces moves in a unique way. Pieces cannot pass through other pieces (with the exception of the Knight, which can jump over them) and can never land on a square occupied by a piece of their own color. However, moving a piece onto a square occupied by an opponent's piece captures it, removing it from play. Generally, pieces are maneuvered to capture opponent pieces, defend friendly pieces, or control key squares on the board.
The Queen
The Queen is the most powerful piece on the chessboard.
She can move in any straight direction—forward, backward, sideways, or diagonally—across any number of unoccupied squares.

The Queen cannot leap over other pieces. Like all standard pieces, when the Queen lands on a square occupied by an opponent's piece, that piece is captured and the move ends.

The Rook
The Rook can move any number of squares along ranks or files, but only forward, backward, or sideways (horizontally and vertically).

Like other pieces, the Rook cannot move onto a square occupied by a friendly piece. It captures an enemy piece by moving onto its square and replacing it.

Next up, learn about the movement rules for Bishops and Knights:
Moves of the Bishop and the Knight