← Play in PhoneChess against the computer · 6 levels

Tactical

Chess vs Computer

6 difficulty levelsPass & playDaily mate puzzle
Computer
You
Loading board…
Moves appear here

How to play chess against the computer

Chess is a two-player game on an 8x8 board. Each side starts with sixteen pieces: eight pawns, two rooks, two knights, two bishops, a queen and a king. White moves first, and you take turns until one king is trapped. On this page you tap a piece, tap one of the dots that appear to move it, or simply drag it. The dots show only legal moves, so you can never make a mistake with the rules, only with the position.

How the pieces move

The special rules

Castling moves the king two squares toward a rook, and the rook hops to the other side. It is allowed only if neither piece has moved, the squares between them are empty, and the king is not in check and does not cross or land on an attacked square. In this game, move the king two squares and the rook follows. En passant lets a pawn capture an enemy pawn that has just advanced two squares and landed beside it, but only on the very next move.

How a game ends

Checkmate wins: the king is attacked and has no escape, no block and no capture of the attacker. Stalemate is a draw, which happens when the side to move has no legal move but is not in check. A draw also comes from threefold repetition, from fifty moves by each side without a capture or pawn move, or when no one has enough material left to mate, such as king against king and a single bishop. You can resign or offer a draw at any time. The computer usually accepts when it is clearly worse or the game has dragged on level, and otherwise mostly says no.

Choosing a difficulty

Beginner looks one move ahead and sometimes plays a careless one on purpose, so it hangs pieces like a new player would. Casual sees a move or two and still blunders now and then. Club calculates three plies and plays an opening book. Strong, Expert and Master use deeper alpha-beta search with check extensions, quiescence search and no deliberate errors; Master gets about 1.5 seconds a move. Everything runs in a background thread on your own device, so the board never freezes.

Five habits that win games at club level

  1. Move each minor piece once in the opening, fight for the centre with pawns on e4 or d4, and castle by move ten.
  2. Before every move, ask what the opponent's last move threatens. Most lost games end with an unanswered threat.
  3. Check, capture, threat: list the forcing moves first. Forks, pins and discovered attacks decide most games below master level.
  4. Trade when you are ahead in material and avoid trades when you are behind.
  5. In endgames, activate your king and push passed pawns. A rook behind a passed pawn is worth far more than the pawn alone.

Try the daily puzzle for tactics practice. Each one is a forced mate in one or two moves and was checked by exhaustive search, so there is exactly one key idea. Your streak counts consecutive days.

Frequently asked questions

Is this chess game really free?

Yes. No account, download or paywall. The computer runs entirely in your browser.

How strong is the computer?

Six levels, from a Beginner that blunders on purpose to a Master that searches as deep as a phone can in about 1.5 seconds. Pick the level where you win roughly half your games and move up from there.

Can I take back a move?

Yes. Undo reverses your last move and the computer's reply. Taking back moves or asking for hints means a win no longer counts as flawless for bonus coins.

What is the difference between stalemate and checkmate?

In checkmate the king is attacked and cannot escape, so that player loses. In stalemate the player to move has no legal move but is not in check, and the game is a draw.

Can two people play on one phone?

Yes. Choose Pass & play, hand the phone over after each move, and use Flip if the board should face the other way.

Does my game save if I leave?

Yes. The game in progress, your settings and your win, draw and loss record per level are stored on this device.