Games / Chess
Board game
Chess
Play against the computer or share the board with a friend. Select a piece to see its legal moves.
Use the arrow keys to explore squares. Press Enter or Space to select a piece or move. Press Escape to clear the selection.
White plays from the bottom of the board.
White to move
Select a white piece to begin.
Moves
No moves yet.
| Turn | White | Black |
|---|
Chess rules
- White moves first. Checkmate wins. Stalemate, insufficient material, threefold repetition, or 50 moves by each player with no pawn move or capture end this game in a draw.
- Castle by selecting your king and its destination. Castling is allowed only if the king and rook have never moved, the squares between them are empty, and the king does not start in, cross, or finish in check.
- You can capture en passant on the turn immediately after an adjacent enemy pawn advances two squares past your pawn. Select the square the enemy pawn passed over.
- When a pawn reaches the opposite edge, choose a queen, rook, bishop, or knight.
Move validation uses chess.js. License and attribution.