Chess

How to play

Play chess free in your browser against a built-in opponent at five strengths. All the rules are here, including the ones half the free chess sites leave out: castling is refused out of, through and into an attack, en passant expires after one move, and a pawn can promote to a knight, bishop or rook as well as a queen.

  1. Tap a piece to see where it can go, then tap a square.
  2. A move that would leave your own king in check is not offered.
  3. A pawn reaching the last rank asks which piece you want.

Common questions

Are all the rules here?
Yes, including the four that are usually missing. Castling needs all five of its conditions — king and rook unmoved, the squares between empty, and the king not in check, not passing through an attacked square, and not landing on one. En passant is available for exactly one move. Promotion offers all four pieces. And a player with no legal move is stalemated, which is a draw, not a loss.
What is the difference between checkmate and stalemate?
Both mean you have no legal move. If your king is attacked it is checkmate and you lose; if it is not, it is stalemate and the game is a draw. Getting these the wrong way round is the most visible bug a chess program can have, so we test for it.
How strong is the opponent?
Five levels. The lowest plays at random; the next is greedy on material; from the third it looks one move ahead, which is the minimum that stops it handing pieces away. It is a page opponent, not an engine — a real search belongs somewhere it cannot hold up your board.

The same opening against each of the five opponent levels

White plays the same 4 moves (e4, Nf3, Bc4, Nc3) against every level, and Black’s replies are whatever the game’s own opponent chose, run from one fixed seed so the run can be repeated.

The opponent’s replies to the same 4 white moves at each level
LevelHow it picks a moveThe game, White then Black
Very easyAny legal move, at random1. e4 Na6 2. Nf3 Nf6 3. Bc4 b6 4. Nc3 h6
EasyThe move that leaves it best off on material right now1. e4 Nc6 2. Nf3 Nf6 3. Bc4 Nxe4 4. Nc3 Nxc3
MediumThe move whose worst reply leaves it best off on material: it looks one move ahead1. e4 Nc6 2. Nf3 Nf6 3. Bc4 Nxe4 4. Nc3 Nxc3
HardThe move whose worst reply leaves it best off on material: it looks one move ahead1. e4 Nc6 2. Nf3 Nf6 3. Bc4 Nxe4 4. Nc3 Nxc3
Very hardThe move whose worst reply leaves it best off on material: it looks one move ahead1. e4 Nc6 2. Nf3 Nf6 3. Bc4 Nxe4 4. Nc3 Nxc3
  • From level 1 to level 2, the rule changes, and the replies first part at move 1: Na6 at level 1, Nc6 at level 2.
  • From level 2 to level 3, the rule changes but this opening draws the same replies from both.
  • Level 3 and level 4 run the same rule, and here they play the same replies.
  • Level 4 and level 5 run the same rule, and here they play the same replies.

Related games

How to play · Archive · Hints and answers

Related games

Archive

Chess #20

You can still play it, but it won’t count towards streaks or boards.

ArchiveHints and answers