Language

How to playRules

Chess

Time
0:00
Moves
0

How to play Chess

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 and the pieces

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.

PieceHow manyHow it movesRough value
King1One square in any directionThe game itself
Queen1Any number of squares in a straight line or along a diagonal9
Rook2Any number of squares in a straight line5
Bishop2Any number of squares along a diagonal, so it stays on one color3
Knight2Two squares one way and one to the side, in an L. It is the only piece that jumps over others3
Pawn8One square straight ahead, or two from where it starts. It captures one square diagonally ahead1

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.

Check, checkmate and stalemate

You can never make a move that leaves your own king attacked. The game simply doesn't offer those moves.

Three special moves

Draws

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.

Levels

LevelHow the computer plays
EasyIt 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.
MediumThe engine held back to a rating of about 1600: it plays sensible moves and takes what you leave unguarded, but it can be outplayed.
HardThe 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.

The clock

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.

Undo, hints and resigning

A game in which you used Undo or Hint still counts in your own statistics, as an assisted game.

Controls

How moves are written

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.

Tips for your first games

Questions

Can I beat the Hard level?

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.

What happens if I close the page?

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.

Why did the game end in a draw when I had more pieces?

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.

Is it free? Do I need an account?

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.

Credits

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).

Similar games

All games