Chess

A full game of chess against the computer, from the first move to checkmate.

Difficulty
Difficulty: Hard
Play time
10 min
Move
1
Material
0
Record
0 W · 0 L · 0 D

Pick a level and a colour, then press Start.

Computer took–
LOADING…
You took–

Tap a piece, then a highlighted square. Undo takes back one move each.

How to play

  1. Pick a level and a colour, then press Start. White always moves first, so if you choose Black the computer opens.
  2. Tap one of your pieces to see where it can go, then tap a highlighted square. Dots mark empty squares, and a pink ring marks a piece you can capture.
  3. To castle, tap your king and then the square two steps toward a rook. When a pawn reaches the far row, pick the piece it turns into.
  4. Checkmate the enemy king to win. Undo takes back your last move and the computer's reply, so you can try another idea.

About this game

Chess is a strategy game for two players on an 8 × 8 board. Each side starts with sixteen pieces: a king, a queen, two rooks, two bishops, two knights, and eight pawns. The goal is checkmate: attack the enemy king so that it has no safe square and the attack cannot be blocked or captured. This version follows the full rules, and the board only accepts legal moves, so you can never leave your own king in check by mistake.

A few rules surprise new players. Castling moves the king two squares toward a rook and puts that rook on the king's other side. It is allowed only if neither piece has moved, the squares between them are empty, and the king is not in check and does not cross or land on an attacked square. En passant lets a pawn capture an enemy pawn that has just stepped two squares past it, but only on the very next move. The game is a draw by stalemate (no legal move while not in check), after fifty moves by each side with no capture or pawn move, when the same position comes up three times, or when neither side has enough pieces left to checkmate.

The computer searches ahead and judges each position by material and by where every piece stands. On Easy it looks one move ahead, adds a lot of randomness, and often misses threats. Normal looks about three moves ahead and follows every exchange to the end. Hard searches as deep as it can in about a second, so it rarely drops a piece and is quick to punish yours.

Good habits pay off at every level: fight for the centre with pawns, bring out knights and bishops before the queen, castle early, and before each move check every capture and threat on both sides. Your wins, losses, and draws on each level are saved in this browser.

More games to try