StrategyLast reviewed

Chessvion

Chessvion is a full chess app that runs inside this page. You can play the Stockfish 19 engine at ten strength levels, play a friend on the same device or online, and train with puzzles, lessons and endgame drills. Below is exactly what each difficulty level changes, taken from the game's code.

Chessvion

Chessvion

Browser-native HTML5 game. No downloads or installations required.

How to play Chessvion

  1. Pick a mode from the menu: Play Computer, Pass & Play (two people on one device), Play Online or Friend by Code.
  2. Against the computer, choose your side (White, Black or Random), a difficulty from 1 (Rookie) to 10 (Maximum) and a time control. Level 4, Club, is selected by default.
  3. Decide whether to allow hints and takebacks. With either switched on the game counts as practice; games with both off count toward your local rating.
  4. Move by clicking a piece and then a highlighted square, or by dragging. Castling, en passant and promotion follow the normal rules, and the game detects checkmate, stalemate and draws.
  5. During a game you can flip the board, ask for a hint, take back a move, offer a draw or resign. Afterwards, Copy PGN or Download PGN saves the game, and Review runs the engine over every position.

Controls

Keyboard and mouse

Click a piece, then click one of the highlighted squares, or drag the piece. The arrow buttons under the move list step back and forward through the game.

Touchscreen

Tap a piece, then tap one of the highlighted squares. Hints, takebacks, draw offers and PGN export work the same way as on desktop.

Difficulty, in numbers

SettingWhat changesValues from the code
1 · RookieOften misses simple tactics. Good for learning the moves.Skill 0 · depth 1 · 0.12 s
2 · NovicePlays sensible-looking moves but blunders pieces.Skill 2 · depth 2 · 0.16 s
3 · CasualSpots one-move threats, misses deeper ideas.Skill 4 · depth 3 · 0.22 s
4 · ClubSolid against beginners, makes occasional mistakes. The default.Skill 7 · depth 5 · 0.32 s
5 · IntermediateCalculates a few moves ahead reliably.Skill 10 · depth 7 · 0.5 s
6 · StrongRarely drops material; punishes inaccuracies.Skill 13 · depth 9 · 0.7 s
7 · AdvancedDeep tactics and sound positional play.Skill 15 · depth 11 · 1.0 s
8 · ExpertVery hard to beat without preparation.Skill 17 · depth 13 · 1.5 s
9 · MasterNear-full engine strength with short thinking time.Skill 19 · depth 16 · 2.2 s
10 · MaximumFull Stockfish strength within the time cap.Skill 20 · no depth limit · 3.5 s

"Skill" is Stockfish's own Skill Level setting (0–20), "depth" is the deepest search in half-moves, and the time is the most the engine may think per move. It stops at whichever limit it reaches first. The game itself notes that these levels are relative, not calibrated ratings.

Tips

These tips follow from how the game's rules and numbers work.

  • Start at level 4 (Club) and move up a level once you win comfortably. Each step adds about two half-moves of search depth, so going from 4 to 5 takes the engine from 5 to 7 half-moves ahead, a bigger jump than the slider suggests.
  • At levels 1 to 3 the engine looks only one to three half-moves ahead, so it misses threats that take two moves to set up, such as a discovered attack or a double attack after a forcing check.
  • Turn hints and takebacks off when you want a game to count. With either switched on, the game is saved as practice and does not change your local rating.
  • After a loss, open Review. It replays the game through the engine at depth 12 and shows where the evaluation swung, which is usually the move that lost.
  • Use Endgame practice for the Lucena and Philidor positions. The engine defends at depth 14, so it will not hand you the win, but it replies within 0.6 seconds, so you can repeat a drill many times.

Developer notes

The engine runs in your browser

Chessvion ships Stockfish 19 (the "lite", single-threaded build) compiled to WebAssembly, in engines/stockfish-19-lite-single.wasm. The app talks to it over UCI, the plain-text protocol desktop chess programs use. Before each search it sends the skill level and then a go command limited by depth, by time, or both:

setoption name Skill Level value 7
position fen <current position> moves <moves so far>
go depth 5 movetime 320

Because the engine runs on your device, playing the computer needs no server. A service worker caches the files, so a game against the computer keeps working if your connection drops after the page has loaded.

How the ten levels are built

Each level sets three numbers: Stockfish's Skill Level, a maximum search depth and a time cap per move. At low skill levels Stockfish deliberately chooses weaker moves from the candidates it finds, and the shallow depth stops it seeing far ahead. That combination is why level 1 hangs pieces and level 3 sees a one-move threat but not a two-move combination. Level 10 removes the depth limit and allows 3.5 seconds a move.

The wrapper also clamps every request: no search deeper than 30 half-moves or longer than 60 seconds, and depth 12 when a feature asks for a move without saying how hard to look.

Analysis, review and endgames reuse the engine

Analysis searches the position on screen to depth 18, for up to 6 seconds, and can show several candidate lines at once. Game review walks through every position of a finished game at depth 12 with 1.5 seconds each and saves the evaluations, so reopening a review is instant. Endgame practice plays the defending side at depth 14 with 0.6 seconds a move.

What else is in the app

There are 7 lessons, from "The board and the pieces" to "Material and piece values", 8 endgame drills including the Lucena and Philidor rook endings, 117 puzzles, Puzzle Rush, an opening explorer that recognises 79 named openings, local tournaments between engine players, achievements, board themes and statistics. Rules (legal moves, check, mate and draws) are handled by the open-source chess.js library. Saved games, settings and the review cache stay in your browser's storage.

Licence

Stockfish is free software under the GNU General Public License v3. The licence text ships with the game as engines/COPYING-stockfish-GPL3.txt, and the source code is available from the Stockfish project.

Screenshots

Chessvion board after 1. e4 c5, with the move list and game buttons beside it
A game against the computer after 1.e4 c5. The panel has flip board, takeback, draw offer, resign, hint and PGN export.
Chessvion new-game screen with side, difficulty slider and time control options
Setting up a game: your side, the difficulty (here level 4, Club) and the time control.
Chessvion puzzle screen showing a mate-in-two position for White
The puzzle trainer. This one is a mate in two; the filter shows 117 puzzles in the library.

Questions

Is Chessvion's computer opponent really Stockfish?

Yes. It is Stockfish 19 (lite, single-threaded) compiled to WebAssembly and run inside your browser. The ten levels limit its skill setting, search depth and thinking time. They are not calibrated Elo ratings, and the setup screen says so.

Does Chessvion work offline?

Games against the computer, puzzles, lessons and endgame practice run entirely in your browser and keep working without a connection once the page has loaded. Play Online and Friend by Code need a connection.

What does online play share?

Online modes connect you to the other player through the public PeerJS service and Google Firebase. Your browser shares an anonymous player ID, your chosen name and your moves, and the other player's browser can see your IP address. The Privacy Policy explains this in full.

Where are my games saved?

In your browser on this device. Use Copy PGN or Download PGN to keep a game somewhere else; PGN files open in any chess program.

Guides for Chessvion

Guide · Chessvion

Chessvion: How to Climb the Ten Stockfish Levels

What each Chessvion difficulty level really changes, which mistakes each one makes, and how to use Review, Analysis, puzzles and endgame drills to move up, based on the settings in the game's code.

· 3 min read

Other games

Carrom Royale

Carrom in your browser with Classic, Disc Pool and Freestyle rules, three computer levels, pass-and-play and online play with a friend.

2048 Puzzle

The 4×4 number-merging puzzle: slide tiles, merge pairs, and build a 2048 tile, with one-step undo, pause and swipe controls.

PuzzlePlay Now