Chess is a game for two: you against the computer here. Each side has sixteen pieces, and you win by trapping the other king so that it is attacked and can't get away. That is checkmate. You can play as White or Black at three levels, take moves back, and ask for a hint when you are stuck.
The board has 64 squares. Each one has a name made of its column, a letter from a to h, and its row, a number from 1 to 8: the letters and numbers along the board's edges show them. White starts on rows 1 and 2, Black on rows 7 and 8, and White always moves first.
| Piece | How many | How it moves | Rough value |
|---|---|---|---|
| King | 1 | One square in any direction | The game itself |
| Queen | 1 | Any number of squares in a straight line or along a diagonal | 9 |
| Rook | 2 | Any number of squares in a straight line | 5 |
| Bishop | 2 | Any number of squares along a diagonal, so it stays on one color | 3 |
| Knight | 2 | Two squares one way and one to the side, in an L. It is the only piece that jumps over others | 3 |
| Pawn | 8 | One square straight ahead, or two from where it starts. It captures one square diagonally ahead | 1 |
A piece captures by moving onto a square an enemy piece stands on, which takes that piece off the board. Nothing but the knight can pass through another piece. The values are only a guide to what is worth giving up for what; the number beside the captured pieces (such as +3) shows who is ahead by them.
You can never make a move that leaves your own king attacked. The game simply doesn't offer those moves.
Some games have no winner. These end the game by themselves:
Two more draws have to be asked for. When the same position has come up three times, or fifty moves by each side have gone by without a capture or a pawn move, a Claim draw button appears on your turn. Press it to end the game as a draw, or keep playing if you think you can win. The computer claims such a draw on its own turn only when it is clearly worse off.
| Level | How the computer plays |
|---|---|
| Easy | It looks only one move ahead, often picks its second or third idea, and about one move in ten plays something careless, so it leaves pieces where you can take them. A good place to learn. |
| Medium | The engine held back to a rating of about 1600: it plays sensible moves and takes what you leave unguarded, but it can be outplayed. |
| Hard | The chess engine at full strength, thinking for a little over a second a move. It is far stronger than any human player. |
Choose the level under New, together with your side (White, Black or Random) and the clock. Your choices are remembered for the next game.
Games have no clock unless you want one. Under New you can give each side 5 minutes, 10 minutes, or 15 minutes with 10 seconds added after every move. The clocks start once the first move has been made, and only the clock of the side to move runs. If your time runs out you lose, unless the computer has too few pieces left ever to give checkmate (a lone king, or a king with a single bishop or knight): then it is a draw. The clocks stop while the page is hidden or closed and carry on from the same time when you come back.
A game in which you used Undo or Hint still counts in your own statistics, as an assisted game.
The list of moves uses the notation chess books use. A move names the piece by a letter (K king, Q queen, R rook, B bishop, N knight; a pawn has no letter) and the square it goes to: Nf3 is a knight to f3, e4 a pawn to e4. An x marks a capture (Bxe5), + a check, # checkmate, O-O castling on the king's side, O-O-O on the queen's side, and =Q a pawn becoming a queen.
Almost certainly not: it is Stockfish, one of the strongest chess engines there is, and even the world’s best players lose to engines like it. Play it to see how good moves look, and use Easy and Medium for games you can win.
Once you have made your first move, the game is saved after every move in this browser: the position, whose turn it is, the moves so far, the level and the clocks. Open the page again and it carries on. If it was the computer's turn, it thinks again and moves.
Most often it is stalemate: the other side had no move it was allowed to make and was not in check. The title of the result says which kind of draw it was.
Yes, it's free, and you don't need an account or a download. Your current game and your statistics are saved in this browser on this device. A free account is optional: it keeps your games and statistics on every device. Chess has no leaderboard, because the computer plays in your own browser, where its moves can't be checked.
The pieces are the standard set from Wikimedia Commons by Colin M.L. Burnett (Cburnett), used under the Creative Commons Attribution-ShareAlike 3.0 license. The computer player is Stockfish 19, in the stockfish.js build for browsers, free software under the GNU General Public License version 3: the license and where to get its source code. The rules of play are checked by chess.js (BSD 2-Clause license).