Play Chess Online
You vs Computer · Level 2 (Casual)
Promote to
Tap or click a piece, then a highlighted square, or drag it. With a keyboard, the arrow keys move between squares and Enter or Space picks up and puts down a piece.
Free online chess, in your browser
Play chess online for free against the computer or a friend, on a phone, tablet or computer, with nothing to install and no account. The computer has five levels: the lowest make the kind of mistakes beginners make, and the highest runs a proper search for a couple of seconds a move. Every rule of chess is built in, from castling and en passant to promotion, stalemate and all the draw rules, so the board only ever lets you make a legal move. You can take moves back, ask for a hint, play with a chess clock, step back through the game, and copy or download it as standard PGN to look at in any other chess program. Your game saves itself as you play, and everything runs on your own device.
How to play on this page
- Start a game. Tap New, choose Computer or Friend, a level from 1 to 5, your colour (White, Black or random) and, if you like, a time control. White always moves first.
- Move a piece. Tap or click it, and dots appear on every square it can legally go to (a ring marks a capture). Tap one of them. You can also drag the piece with your finger or mouse.
- Promote a pawn. When a pawn reaches the last rank, pick a queen, rook, bishop or knight.
- Take a move back with Undo, or tap Hint and the computer marks a good move for you.
- Review. Tap any move in the list, or use the arrows, to see the position at that point. Your game carries on from the latest move.
- Finish. The game ends by checkmate, a draw, a resignation or a clock running out. Then share the result, download the PGN or start a rematch: from the normal starting position you swap colours, and a practice position starts again as it was.
With a keyboard, Tab to the board, move around it with the arrow keys and press Enter or Space to pick up and put down a piece. Screen readers name every square and its piece, and announce each move in words, such as "Computer: knight g8 to f6". Elsewhere on the page, the left and right arrows step through the moves, U undoes, F flips the board, H gives a hint and N starts a new game.
How to play chess: the rules in brief
Chess is played on an 8×8 board by two players, White and Black, who each start with 16 pieces: a king, a queen, two rooks, two bishops, two knights and eight pawns. Players take turns to move one piece, and a piece captures by moving onto a square occupied by an enemy piece, which is removed. The aim is to checkmate the opponent's king: attack it so that it has no way to escape.
| Piece | How it moves | Usual value |
|---|---|---|
| King | One square in any direction. It may never move into check. | Can't be traded |
| Queen | Any number of squares in a straight line or diagonally. | 9 |
| Rook | Any number of squares along a rank or file. | 5 |
| Bishop | Any number of squares diagonally, so it stays on one colour. | 3 |
| Knight | In an L: two squares one way and one square to the side. It's the only piece that jumps over others. | 3 |
| Pawn | One square straight forward, or two from its starting square. It captures one square diagonally forward. | 1 |
The values are the traditional rule of thumb for comparing trades, not a law: a well-placed knight can be worth more than a buried rook.
The three special moves
- Castling moves the king two squares towards a rook, and the rook to the square the king crossed. It is allowed only if neither piece has moved, the squares between them are empty, and the king is not in check, does not pass through an attacked square and does not end in check. Castling short (O-O) is towards the h-file rook; castling long (O-O-O) is towards the a-file rook.
- En passant. If a pawn advances two squares and lands beside an enemy pawn, that pawn may capture it on the very next move as if it had advanced one square. With a white pawn on e5, the reply ...d7-d5 can be met by exd6, removing the pawn on d5.
- Promotion. A pawn that reaches the far rank becomes a queen, rook, bishop or knight of your choice, even if you still have your original queen.
Check, checkmate and stalemate
A king that is attacked is in check, and its owner must get out of check at once by moving the king, capturing the attacker or putting a piece in between. If there is no way out, it's checkmate and the game is over. If the player to move is not in check but has no legal move at all, it's stalemate, and the game is a draw, however much material one side has.
How a game can be drawn
| Draw | When it happens |
|---|---|
| Stalemate | The side to move has no legal move and is not in check. |
| Threefold repetition | The same position, with the same side to move and the same castling and en passant options, has appeared three times. |
| 50-move rule | Each side has made 50 moves in a row without a capture or a pawn move. |
| Insufficient material | No checkmate is possible: king against king, king and bishop or king and knight against king, or kings with bishops all on squares of one colour. |
| Agreement | One player offers a draw and the other accepts. The computer accepts only when it thinks it's worse, or when a long game is level. |
| Time out without mating material | A player's clock runs out, but the opponent has nothing left that could ever deliver mate. |
Under the official FIDE Laws of Chess, threefold repetition and the 50-move rule are draws a player has to claim, while fivefold repetition and 75 moves end the game automatically. Like most online chess sites, this page ends the game automatically at three repetitions and 50 moves, so you never have to claim anything.
The five computer levels
| Level | What to expect |
|---|---|
| 1. Beginner | Looks one move ahead and often misses what you threaten. Good for learning how the pieces move. |
| 2. Casual | Sees simple captures and threats, but still leaves pieces hanging now and then. |
| 3. Club | Calculates a few moves deep and only slips occasionally. |
| 4. Strong | Searches for about a second a move and punishes loose pieces and short tactics. |
| 5. Master | Uses its full search for up to 2.5 seconds a move. A real challenge. |
The weaker levels aren't simply random. They look less far ahead, so they miss your threats; on some turns they judge a move without considering your reply at all, which is how real players hang pieces; and they choose between close moves with a bit of chance, so no two games are the same. Levels 4 and 5 search properly, with all the usual engine techniques, until their time runs out. If a level feels too easy, move up one; if you lose every game, drop down, use Hint, and take moves back to see what you missed.
Playing a friend on one device
For two-player chess, choose Friend in New game and pass the phone, tablet or laptop back and forth. Switch on Turn board for each player in the menu and the board turns after every move, so whoever is to move always plays up the screen. Leave it off when a tablet lies flat between you, and each of you reads the board from your own side. A chess clock keeps a casual game moving: 5 or 10 minutes each suits most games at home, and the 3 | 2 and 15 | 10 settings add a few seconds after every move so a player with a won position doesn't lose it on time. The player whose turn it is can offer a draw, which the other accepts or declines on the same screen, or resign. Undo steps back one move at a time, which makes the page handy for showing a newer player where a game went wrong.
Chess tips for beginners
- Fight for the centre. Open with a centre pawn (e4 or d4 for White) and aim your pieces at the middle four squares, where they control the most of the board.
- Develop your pieces. Bring knights and bishops out early, before moving the same piece twice, and before launching an attack.
- Castle early. Castling tucks the king away behind pawns and brings a rook towards the centre. Experienced players usually castle in the opening, as soon as the pieces between king and rook have been developed.
- Don't bring the queen out too soon. It can be chased around by smaller pieces while your opponent develops with tempo.
- Before every move, check what the last move threatens. Ask what the opponent's piece attacks now, and whether any of your pieces are undefended.
- Look for checks, captures and threats, in that order, for both sides. A single overlooked check or capture is the quickest way to lose a game.
- Trade when you're ahead, and avoid trades when you're behind. Fewer pieces make an extra pawn or piece easier to convert.
- Rooks belong on open files, and in the endgame the king becomes a strong piece: bring it towards the centre.
A worked example: the four-move checkmate
After 1. e4 e5 2. Bc4 Nc6 3. Qh5, White's queen and bishop both aim at f7, a square only Black's king defends. The natural-looking 3... Nf6?? attacks the queen but ignores the threat, and 4. Qxf7# is checkmate: the king can't take the queen because the bishop on c4 protects it. Black defends with 3... g6, which blocks the queen's diagonal and attacks her (if 4. Qf3, aiming at f7 again, then 4... Nf6 blocks the f-file), or with 3... Qe7, which guards f7 directly. The lesson is the habit from the tips above: before replying to an attack on your piece, look at what your opponent is threatening. Try the line yourself against Level 1, which falls for this kind of trap from time to time.
Common mistakes
- Grabbing a pawn or piece without checking whether it's defended, or whether taking it opens a line to your king.
- Moving only pawns in the opening while the knights and bishops stay at home.
- Leaving the king in the centre after the central pawns have been exchanged.
- Stalemating a lone king when you're a queen up. Always leave it a square to move to until the mating move.
- Promoting automatically to a queen when that queen would stalemate; a rook does the job without the risk.
- Playing fast in a winning position. The game isn't won until it's checkmate.
Saving and sharing: PGN and FEN
PGN (Portable Game Notation) is the standard text format for a whole chess game: a few tags such as the date and result, then the moves in algebraic notation, like 1. e4 e5 2. Nf3 Nc6. Every chess program and site can open it, so you can download your game here and analyse it elsewhere. FEN (Forsyth–Edwards Notation) describes a single position in one line. The starting position is rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1: the pieces rank by rank from Black's side (capitals are White, numbers are empty squares), then the side to move, castling rights, the en passant square, the moves since the last capture or pawn move, and the move number. Paste a FEN into Load to play on from a puzzle, a book diagram or a game you want to practise.
More strategy and puzzle games
If you like thinking a few moves ahead, try Connect Four, which you can also play against the computer or a friend, or the quick classic Tic-Tac-Toe. For a solo logic puzzle there's Sudoku with a daily puzzle, Minesweeper, and Solitaire when you want something more relaxed.
Frequently Asked Questions
Can I play chess online for free without signing up?
Yes. This page is free, with no account, no download and no ads. Play the computer at five levels or a friend on the same device, on a phone, tablet or computer. Everything, including the computer opponent, runs inside your own browser: your moves are never sent to a server, and your game, settings and record are kept in this browser's local storage.
How strong is the computer at each level?
Level 1 looks only one move ahead and often grabs a defended piece, so it's a good first opponent. Level 2 sees simple captures but still blunders sometimes. Level 3 calculates a few moves deep and only slips occasionally. Levels 4 and 5 run a full search for up to about one and two and a half seconds a move (less with a fast clock) and punish loose pieces and short tactics. The levels have no Elo rating because they haven't been measured against rated players. Elo ratings, used by FIDE and chess sites, predict results from the rating gap: a player rated 200 points higher is expected to score about three points out of four.
Can two people play chess on one device?
Yes. Choose Friend in New game and take turns on the same phone, tablet or computer. Switch on Turn board for each player so the side to move is always at the bottom, add a chess clock with or without increment, and use Offer draw or Resign as you would over a real board.
How do the chess pieces move?
The king moves one square in any direction. The queen moves any distance in a straight line or diagonally, the rook any distance along a rank or file, and the bishop any distance diagonally. The knight moves in an L shape, two squares one way and one to the side, and is the only piece that jumps over others. A pawn moves one square forward, or two from its starting square, and captures one square diagonally forward. On this page, tap a piece and dots mark every square it can legally move to.
How do you castle in chess?
Move your king two squares towards a rook; the rook then jumps to the square the king passed over. You may castle only if neither the king nor that rook has moved yet, every square between them is empty, your king is not in check, and the king does not pass through or land on a square the opponent attacks. On this page, select the king and its castling square shows a dot, or drag the king two squares.
What is en passant in chess?
When a pawn moves two squares from its starting square and lands right beside an enemy pawn, that enemy pawn may capture it as if it had moved only one square, landing on the square the pawn skipped. The capture is only allowed on the very next move. For example, after a white pawn on e5 and Black's ...d7-d5, White can play exd6 and remove the pawn on d5.
What happens when a pawn reaches the other side of the board?
It must be promoted to a queen, rook, bishop or knight of the same colour, whatever pieces are already on the board, so you can have two or more queens. Usually you pick a queen, but a knight is sometimes better because it gives check, and choosing a rook or bishop can avoid stalemating your opponent. A picker appears when you promote, or you can switch on Always promote to a queen.
What is the difference between checkmate and stalemate?
In both, the side to move has no legal move. If their king is in check, it's checkmate and they lose. If their king is not in check, it's stalemate and the game is a draw. That's why, when you are far ahead, you should always leave the losing king at least one safe square until you can deliver mate.
When is a chess game a draw?
A game is drawn by stalemate, by agreement, when neither side has enough material left to checkmate (such as king against king, or king and bishop against king), when the same position appears three times with the same player to move, or when 50 moves by each side pass without a pawn move or a capture. In over-the-board play the last two must be claimed by a player; this page applies them automatically, as most online sites do.
What is the best chess opening for beginners?
There is no single best opening, but beginners do well with openings that follow the basic principles: a centre pawn first (1. e4 or 1. d4), then knights and bishops out, then castling. As White, the Italian Game (1. e4 e5 2. Nf3 Nc6 3. Bc4) and the London System (1. d4 with an early Bf4) are popular because their plans are simple. As Black, meeting 1. e4 with 1... e5 and 1. d4 with 1... d5 keeps the same principles. Understanding why the moves are played matters more than memorising long lines.
Can I take back a move and save my game?
Yes. Undo takes back your last move against the computer (together with its reply), or the last move in a game against a friend, as many times as you like, and it reopens a finished game too. The game saves itself in this browser after every move, so you can close the tab and carry on later. From the menu you can download the game as a PGN file, copy the PGN for another chess app, or copy the FEN of the position on screen. When a game ends, Share result sends a short summary with a link to this page.
How do I set up a position from a FEN or PGN?
Open the menu, choose Load FEN or PGN and paste a FEN string (for example from a puzzle or a book) or a whole PGN game. The position is checked first; for example both sides need exactly one king, and the side that isn't to move can't be in check. Against the computer you play the side to move. There are also practice positions, such as checkmating with a king and queen.
More games to play
Free, browser-based, and instant — no installs or accounts.