Chess
Play full legal Chess with castling, en passant, pawn promotion, and algebraic move history against the CPU or a friend.
Click a piece to see its legal moves · Click a highlighted square to move · Arrow keys + Space/Enter · Z to undo
Game options
1P vs CPU · Club · play as White
How to Play Chess in 3 Steps
Select a piece
Click one of your pieces to highlight every legal target square. The engine automatically filters out moves that expose your king to check.
Play special moves
Move your king two squares to castle, or move a pawn diagonally for en passant. Select Queen, Rook, Bishop, or Knight on the eighth rank.
Review moves and undo
Read every move in algebraic notation in the side panel. Click Undo or press Z to take back a full turn.
Controls & rules
| Action | Keyboard | Mouse / Touch |
|---|---|---|
| Select and move | ← → ↑ ↓ then Space / Enter | Click or tap piece, then target square |
| Castle king | Select King, then move 2 squares sideways | Click King, then click g1/c1 or g8/c8 |
| Promote pawn | Select piece in the promotion bar | Tap Queen, Rook, Bishop, or Knight |
| Undo turn | Z | Tap Undo |
Chess: Frequently Asked Questions
Are all official Chess rules enforced?
Yes. The board enforces king safety, kingside and queenside castling, en passant, pawn promotion, checkmate, stalemate, 50-move draws, and threefold repetition.
How does the computer evaluate positions?
The engine scores material balance and piece-square tables for center control and king safety. It searches moves locally in JavaScript using alpha-beta pruning.
Can I play as Black?
Yes. Open Game options and set Play as to Black to flip the board automatically.
Why can I not castle right now?
Both your king and chosen rook must be unmoved with empty squares between them. Your king also cannot start in, pass through, or land in check.
Is anything uploaded or tracked while I play?
No. The game runs completely in your browser tab. Your browser saves match state locally and clears everything when you click Reset.
Explore All Games
Play fast browser games immediately with zero downloads and no account.