Chess

Help

How to play chess here, how strong the computer is, what to do if something does not work, and how this site is looked after. No technical knowledge needed.

How to play

  1. Choose who you are playing under Opponent: Computer (the game starts in this mode; later visits remember your last choice) or Two players sharing one screen. Against the computer, choose whether you play White (you move first) or Black, and a Strength from 1 to 10. The default is 6.
  2. Click (or tap) one of your pieces. Dots show every square it can legally move to, and rings show pieces it can capture. Click the square you want. Click another of your pieces to change your mind.
  3. When a pawn reaches the far side you are asked which piece it becomes.
  4. Prefer typing? Put a move in the Type a move box, for example e4, Nf3, Bxc6, O-O (castle king side), O-O-O or e8=Q, and press Play.
  5. The game ends in checkmate, a draw (stalemate, too few pieces to mate, the same position three times, or fifty moves with no capture or pawn move: see the rules), or when someone resigns.
  6. Undo takes back your last move (against the computer, its reply too). Flip board turns the board round. Resign gives up the game. New game starts again with the settings you have chosen. The score for this visit is kept until you close or reload the page.
  7. Under Moves you can step back through the game with the four buttons, or press any move, to see an earlier position. The board is then read-only: press the last button to return to the game. The name of the opening is shown once a named line is reached, and stays until a new one is.
  8. Under Game record (PGN) you can copy the game to paste into a chess program or website for analysis.

You can also play with the keyboard. The board is a single stop in the Tab order: press Tab once to reach it, then use the arrow keys to move between squares. Press Enter or Space to pick up a piece and again on the square you want to put it on. Escape drops a piece you have picked up. Press Tab again to leave the board for the buttons. The typed-move box is the quickest way to play without a mouse, and works well with screen readers: every square is read out as, for example, “e4, white pawn, legal move”, and every move is announced.

The rules in short

The full rules as this game applies them are in the project’s docs/RULES.md.

How strong is the computer?

The computer was written for this site (it is not a copy of any other chess program) and thinks on your own device, in the background, so the page never freezes. At level 10 it examines millions of possible continuations for every move it makes. Lower levels think for less time, look fewer moves ahead, and have a deliberately blurred sense of which positions are good, so they make the kind of mistakes a human would. They get steadily stronger from 1 to 10.

LevelWhat it is like to playThinks about
1Just learning: moves are close to random, though it will often take a piece you leave hanging.instant
2Beginner: sees one move ahead, often blunders.instant
3Casual player: spots simple threats, misses most plans.instant
4Improving player: plays sensibly but drops pieces to two-move tactics.under a second
5Social player: solid, but misses deeper tactics.under a second
6Keen player: rarely drops a piece in one move.under a second
7Club player: sees short tactics and punishes mistakes.up to one second
8Strong club player: a tough opponent.up to two seconds
9Expert: thinks for a few seconds a move.up to four seconds
10Full strength: the best the computer can play. No deliberate mistakes.up to six seconds

The levels are approximate and are not an official rating. If you are around 1800, level 7 or 8 should give an even game and 9 or 10 will test you hard. They were checked by playing each level against Stockfish, the strongest free chess engine, held back to chosen ratings; the results are in the project notes (docs/STRENGTH.md).

If something does not work

How the site is looked after

This is a MediaWright site. The game runs entirely in your browser: it stores nothing about you except your choice of opponent, side and strength on your own device, uses no cookies and has no adverts or trackers. The only outside service it uses is Google Fonts for the lettering.

Every change to the site is tested before it goes live, and each one is recorded, with its build number, on the site updates page. If you find a security problem, please follow the security policy.

Credits

The chess rules, the computer player, the pieces and the page were written for this site. The one thing used from elsewhere is the list of named openings behind the opening book and the opening names: the Lichess chess-openings data set, released into the public domain (CC0). The computer was measured against Stockfish, but no Stockfish code is part of this site. The technical details are in the project README.