Chess

Trap the other king so it cannot escape and you win. Play the computer at three levels, or take turns with a friend on one device. Tap a piece to see where it can go. The piece sounds are recordings of real wooden pieces.

Updated How it works

Play chess

Choose an opponent and your color, then tap Start. A game in progress is saved on this device, so you can leave and pick it up later.

Opponent
Your color
You play White and move first
Games finished today
0
Wins vs computer
Easy 0 · Medium 0 · Hard 0

How to use

  1. On the first screen, choose your opponent (computer Easy, Medium or Hard, or two players on one device) and your color (White, Black or random), then tap Start.
  2. White moves first. Tap one of your pieces and dots appear on the squares it can move to. Squares where you can capture an opposing piece get a round outline. Tap a marked square and the piece slides there.
  3. You can also drag a piece and drop it. If the square you drop it on is not a legal move, the piece stays where it was.
  4. When a pawn reaches the last row, a window asks what to promote it to. The queen, the strongest piece, is at the top and is the biggest. Tap outside the window to cancel that move.
  5. While the computer is thinking, “Computer is thinking” is shown and the board cannot be tapped. The screen does not freeze.
  6. The last two squares played are highlighted in yellow. When a king is in check, its square gets a red outline and a “Check!” band appears at the top.
  7. Undo has no limit. Against the computer it takes back your move and the computer’s reply together. Resign ends the game as a loss.

A game in progress is saved on this device after every move, so you can close the page and pick it up later. Tapping Quit deletes the saved game. With a keyboard, use the arrow keys to move between squares and Enter or Space to select. A screen reader reads the square name (for example e4) and the piece, and announces each move once it is played.

Rules: how to win and the levels

SettingDetails
Board8 x 8 (64 squares), White moves first
WinThe other king is in check and cannot escape (checkmate). If a side resigns, the other side wins
DrawStalemate, not enough pieces, the 50-move rule, or the same position three times
Computer EasyLooks one move ahead and sometimes plays at random (within 1 second per move)
Computer MediumLooks three moves ahead and rarely makes big mistakes (within 1 second per move)
Computer HardLooks deeper (within 3 seconds per move)
UndoNo limit. Two moves at a time against the computer, one move at a time with two players
  • Check means a king is on a square where it could be captured. You must deal with it on your next move, and if you cannot, it is checkmate.
  • Stalemate means you are not in check but have no legal move at all. It is not a loss. The game is a draw.
  • Castling moves the king and a rook in one turn. It cannot be played while the king is in check or if the king would pass through an attacked square. En passant is a pawn capture that is only possible on the move right after an enemy pawn advanced two squares.
  • The piece sounds are not synthesized. They are recordings of real wooden pieces being set down on a wooden board. Sound is off at first. Tap “Sound on” to hear it. Moves, captures and check each have their own sound, and several recordings are mixed so the same sound does not repeat.

Example: a checkmate in four moves

  1. Choose “Two players, one device” and tap Start.
  2. Move the White f2 pawn to f3, and the Black e7 pawn to e5.
  3. Move the White g2 pawn to g4. The Black queen on d8 then goes to h4 and checks the White king.
  4. The White king cannot escape and nothing can block, so “Checkmate!” appears and Black wins. This is known as Fool’s Mate, the shortest possible checkmate.

Edge cases: saving, two players and small screens

  • What stays on this device is your sound setting, text size, the opponent and color you chose last, the move list of a game in progress, the number of games you finished today, and the number of wins at each computer level. None of it is sent to a server, and it disappears if you clear the site data.
  • With two players on one device the board is not flipped, and White is always at the bottom. Only when you play Black against the computer is the board turned so that your pieces are at the bottom.
  • Pawn promotion lets you choose a queen, rook, bishop or knight. When the computer promotes a pawn, the computer chooses.
  • On a phone the board uses the full screen width. On a large screen it grows up to 560 px wide.
  • If your device is set to reduce motion, pieces no longer slide or fade, and only the markings change.
  • If you hear no sound, check whether the sound button is off. Sound starts after you have tapped the page once, and a device on silent will not play it even when the button is on.

Frequently asked questions

Which rules does it use?

Standard chess rules. Castling, en passant and pawn promotion are all available. There is no clock or time limit.

How strong is the computer?

Easy can be beaten by someone playing for the first time. Medium makes fewer mistakes that lose a piece in one move. Hard looks deeper and is not easy to beat. Every level thinks for at most 1 to 3 seconds per move.

Is my game saved?

Yes, but only on this device. It is saved after every move, and it is deleted when the game ends or when you tap Quit. Nothing is sent to a server, and there is no login.

What does the site count in its visit statistics?

Only the game name and the opponent (computer Easy, Medium, Hard, or two players) when a game starts, when a game ends, and when you tap Play again. It does not send which moves you played, who won or how long the game took.

What do the sounds come from?

They are recordings of real wooden chess pieces being set down on a wooden board. Each time, a recording different from the last one is picked, so the sound varies slightly. The sound files are downloaded only after you turn sound on. The recordings were published as CC0 (public domain) on Freesound by simone_ds, JJTaynos, el_boss, XfiXy8, mht23SD, Iamgiorgio and IENBA.

How it works

The board has 64 squares in an 8 by 8 grid, and White moves first. Piece moves, captures, pawn promotion, castling and en passant follow the standard rules of chess, and a move that leaves your own king in check cannot be played. If a king is in check and cannot escape, that is checkmate and the checkmated side loses. If a side is not in check but has no legal move, that is stalemate and the game is a draw. The game is also a draw when neither side has enough pieces left to checkmate, when 50 moves pass with no capture and no pawn move, and when the same position comes up three times. The computer opponent is calculated by this site's own code, no moves are sent to an outside service, and everything is calculated in your browser. Easy looks one move ahead and sometimes plays at random, Medium looks three moves ahead, and Hard looks deeper. The computer thinks for at most 1 second per move at Easy and Medium and 3 seconds at Hard. The tests for the rules and the computer are in this site's repository.

Last checked

Found a calculation mistake? Let us know.