Chess Online — Play the Computer or a Friend

Free online chess with no sign-up: play a computer at four levels or a friend on one screen, with legal-move dots, undo, drag or tap to move, and PGN export.

Level
Play as
Your move
Moves

No moves yet

New to chess? How the pieces move
♚︎ King
One square in any direction. It must never be left in check; if it cannot escape, that is checkmate.
♛︎ Queen
Any number of squares along a row, column or diagonal.
♜︎ Rook
Any number of squares along a row or column.
♝︎ Bishop
Any number of squares diagonally, always staying on its starting color.
♞︎ Knight
Jumps in an L shape (two squares, then one sideways) and can hop over other pieces.
♟︎ Pawn
One square forward (two on its first move), captures one square diagonally forward. Reaching the last rank promotes it.
Castling
If the king and a rook have not moved and the squares between are empty, move the king two squares toward the rook. Not allowed out of, through, or into check.
En passant
When an enemy pawn advances two squares to land beside your pawn, you may capture it as if it had moved one — on the very next move only.
Draws
Stalemate, 50 moves without a capture or pawn move, the same position three times, or not enough material to mate.

Start playing

Choose vs Computer, pick a level and your colour, and you are playing — White moves first. Tap a piece to see its legal squares, then tap a square or drag the piece there. Two players lets you pass one device back and forth, with a flip-board button.

New to the game? Open How the pieces move under the board for a one-screen guide to every piece plus castling, en passant and promotion.

How the levels differ

Level Search depth What to expect
Beginner 1 ply Heavy randomness — it hangs pieces often
Easy 2 ply Fewer one-move blunders, short tactics
Medium 4 ply Looks for forks and pins
Hard up to 6 ply (~2 s) Follows capture sequences to the end, rarely drops material

The engine scores positions with classic piece values (pawn 1, knight 3.2, bishop 3.3, rook 5, queen 9) plus square tables, and runs in a Web Worker so the page stays responsive while it thinks.

Full rules, including draws

Castling on both sides, en passant, promotion with a choice of piece, checkmate and stalemate are all handled. Draws are detected automatically:

  • 50-move rule: 50 moves by each side with no capture or pawn move
  • Threefold repetition: the same position, side to move and castling rights three times
  • Insufficient material: for example king vs king, or king and bishop/knight vs king

Save the game and challenge friends

Copy PGN puts the game on your clipboard in standard notation, ready to paste into any analysis board. Beat the computer and you can save a result card image or share a link; your friend sees how many moves you needed and gets the same level to try. The game in progress and your record per level are kept in this browser, so a refresh does not lose your position.

More thinking games

Try the daily Sudoku or a round of Minesweeper.