Play chess vs Stockfish under your own rules

Free Stockfish opponent in your browser. Rules are yours to set: a move, whether it raises or lowers Stockfish’s strength, and by how much.

Updated

Rules you set

A rule has three fields: the move that triggers it, whether Stockfish gains or loses strength, and the amount of that change. Triggers include the engine’s top move, any other move, capture, non-capture, blunder, check and promotion. The blunder trigger uses the review’s winning-chance threshold, not a fixed one-pawn evaluation change.

With no rules, this is an ordinary game against Stockfish. For example, a capture rule can add 200 to its strength setting whenever you take material. A reward rule can lower the setting after a chosen action. Triggering a rule changes the opponent’s setting; it does not immediately win or lose the game. These settings are approximations of difficulty, not a rating certificate.

Every game has an address

The site saves the moves, mode and side you played to give the game a short public link under /play/g/…. Anyone with that link can reopen the game. Engine searches still run locally through Stockfish 18 WebAssembly; saving a playable link is a separate server request.

Review it when it is over

A finished game opens as a game review: accuracy for both sides and every move classified. Positions can also be set up by hand on the sandbox board.

Named modes

Each of these opens with the rule or bot already set. Breaking a “don’t” raises Stockfish’s rating; doing what a “reward” asks drops it. A bot, like Drawfish, changes which move Stockfish plays. The game does not end on the spot.

/play is the blank board, if you want to write your own combination.

Play Stockfish free