♟️

Chess

Play chess against the computer — you are White. Full legal moves, check & checkmate!

0
Moves
0
White Captured
0
Black Captured
Your turn — click a piece to select
Checkmate!
More Games

More Games You'll Enjoy

About Chess

A full chess game playable in your browser against a computer AI. You play as White, the computer plays as Black. All standard chess rules are implemented: pawn promotion, castling, en passant, check and checkmate detection.

How to Play

  1. Click one of your white pieces to select it — valid moves are highlighted.
  2. Click a highlighted square to move there.
  3. The CPU automatically plays its response.
  4. The game ends when a king is in checkmate or stalemate occurs.

Controls

  • Click a piece — Select it and see legal moves
  • Click a highlighted square — Move the piece there
  • New Game button — Start a fresh game

Frequently Asked Questions

The AI uses a minimax search with a simple material and position evaluation. It's a good beginner/casual opponent — strong enough to challenge new players but beatable by intermediate players.
Yes — both castling (kingside and queenside) and en passant captures are fully implemented.
Pawns automatically promote to a Queen when they reach the back rank.