Strategy & Logic · Skill-Based

Play Chess Against the Computer

A complete game of chess — legal moves, castling, en passant, promotion and draw detection — against a built-in opponent with five difficulty levels. Free, private, and playable on any device.

  • Five difficulty levels
  • No signup, no download
  • No real-money play

Your move

Level: Medium

Checkmate

How To Play

A full game of chess, no account needed

You play the side you choose and the computer answers automatically. Select a piece to see every legal move, then move by tapping or dragging. Castling, en passant, pawn promotion, check, checkmate, stalemate and the draw rules are all handled for you.

  • Move highlighting Legal destinations appear as dots, and captures as rings around the target square.
  • Difficulty & undo Change the computer's strength at any time, take a move back, or flip the board to look from Black's side.
About The Opponent

How the computer plays

Board legality and every chess rule are enforced by the open-source chess.js library, so illegal moves are impossible. The computer's moves are chosen by a built-in engine that searches ahead using minimax with alpha-beta pruning, move ordering and a quiescence search.

Higher difficulty levels search deeper and take longer to think. Lower levels look fewer moves ahead and deliberately allow occasional mistakes, so beginners can win. Everything runs locally in your browser — no server, no tracking.

Expert level is genuinely hard for casual players. Beat a lower level first, then work your way up.