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.
- Don’t play the engine move, Copy Stockfish’s first choice and its rating goes up 100. Play something else and nothing happens. The engine gets harder when you cheat the rule.
- Only engine moves, A move that is not Stockfish’s first choice raises its rating by 100. Stay on its line or the game gets harder.
- No captures, Capturing a piece raises Stockfish’s rating by 100. Quiet moves are free. Take something and the game gets harder.
- Captures only, A move that does not capture raises Stockfish’s rating by 100. The engine still plays ordinary chess.
- No blunders, A move the review would call a blunder — one that gives up 20% or more of your winning chances — raises Stockfish’s rating by 100.
- Play Drawfish Chess Online, Play Drawfish, the chess bot that chooses the move closest to a 0.00 evaluation. Inspired by iwantcheckmate’s DrawFish challenge, this version runs Stockfish in your browser. Choose your side and make a move. Can you make it lose?
- Play Stockfish’s Second-Best Move Bot, Play Stockfish, but it always plays its second-best move. This bot, Second-Best Stockfish, must pass up its first choice unless only one move is legal. Can you force a position where only the best move saves it?
- Play Stockfish, But It Randomly Picks a Top-3 Move, Each turn Stockfish finds its three best moves and plays one of them at random.
- Play Stockfish, But It Must Give Check Whenever It Can, If Stockfish has a checking move, it plays its best check, even when the check loses. Otherwise it plays normally.
- Play Stockfish, But It Copies Your Move Quality, Play Stockfish, but it copies your last move quality, from iwantcheckmate’s video. Copycat Stockfish chooses a reply that loses about as much evaluation as your last move did. Play accurately and it does too; make a mistake and it tries to match the loss.
- Play Stockfish, But It Alternates Light and Dark Squares, Stockfish’s first move lands on a light square, its second on a dark square, and it keeps alternating. When it has no move to the right colour it plays normally.
- Play Stockfish, But Every Capture Switches Its Strength, Stockfish starts at 250 Elo. Every capture, by either side, switches it between 250 and full strength. Time your trades.
- Play GothamFish: Stockfish, But It Must Offer a Rook Whenever It Can, Play GothamFish, from iwantcheckmate’s video. If Stockfish can move a rook to a square you attack, it must, and it picks the best of those moves. Otherwise it plays normally.
- Play Stockfish, But It Wants to Capture Your Queen, If Stockfish can take your queen, it does. If it cannot, it attacks your queen when it has a way to. Otherwise it plays normally. Use your queen as bait.
- Play PanicFish: Stockfish, But It Loses 300 Elo When You Give Check, Play PanicFish, from iwantcheckmate’s video. Every check you give drops Stockfish’s rating setting by 300, down to a minimum of 0. The rule is already on: choose your side and make a move on the board. Can you give useful checks while keeping your pieces safe?
- Play TiredFish: Stockfish, But It Loses 50 Elo Every Move, Play TiredFish, from iwantcheckmate’s video. Stockfish starts at a 3190 Elo setting and loses 50 after every move it plays, down to 0. Survive the opening and turn the tables as it weakens. The challenge is ready on the board, free with no account.
- Play BlunderFish: Stockfish With a 5% Chance of Blundering, Play BlunderFish, from iwantcheckmate’s video. Every turn, Stockfish has a 5% chance of playing its worst scored legal move. Otherwise it plays its best. Stay alive and catch the mistake when it comes. In a forced position, even its worst move may be sound.
- Play GeometricFish: Stockfish, But It Plays the nth Best Move Where P(n) = (1/2)^n, Play GeometricFish, from iwantcheckmate’s video. Each turn Stockfish ranks every legal move and plays the nth best with probability (1/2)^n: the best move half the time, the second best a quarter, the third an eighth. Can you punish the long shots?
- Play Smartin: Stockfish That Starts at 0 Elo and Gains 100 Every Move, Smartin starts at a 0 Elo setting and gains 100 after every move it plays, up to 3190. Its first moves are a beginner’s; by move 32 it is full-strength Stockfish. Win before it learns.
- Play HungryMartin: Starts at 0 Elo, Gains 1000 Every Capture or Check, HungryMartin starts at a 0 Elo setting. Every move it plays that captures a piece or gives check feeds it 1000 more, up to 3190. Keep your pieces defended and your king covered, and it never wakes up.
- Play Slothful King: Stockfish, But Both Kings Must Stay on Their Squares, Play Slothful King. Both kings stay on their squares: a king may capture, and it may step away only when a check cannot be blocked or the checker taken. Nobody castles. The rule binds you and Stockfish alike.
- Play HolyFish: Stockfish, But Its Back Rank Is All Bishops, Play HolyFish. Stockfish’s back rank is seven bishops and its king; you play the normal setup. It has no rooks or queen, but a swarm of bishops. Good luck.
- Play CavalryFish: Stockfish, But Its Back Rank Is All Knights, Play CavalryFish. Stockfish’s back rank is seven knights and its king; you play the normal setup. Brace for the cavalry charge.
- Play SadFish: Stockfish, But It Loses 200 Elo for Every Piece It Loses, Play SadFish. Every capture you make drops Stockfish’s rating setting by 200, down to 0. Trade pieces and it gets weaker; keep your own pieces safe while you do.
- No checks, Giving check raises Stockfish’s rating by 100. Everything else is ordinary chess.
- No promotions, Promoting a pawn raises Stockfish’s rating by 100. The rest of the game is unchanged.
- Play TiltFish: Stockfish, But It Loses 100 Elo When You Play the Best Move, Play TiltFish, from iwantcheckmate’s video. Playing Stockfish’s first choice drops its rating by 100. Copy it and the game gets easier.
- Rewarded for other moves, A move that is not Stockfish’s first choice drops its rating by 100. Deviating makes the game easier.
- Rewarded for captures, Each capture drops Stockfish’s rating by 100. Quiet moves do not score.
- Rewarded for quiet moves, A non-capture drops Stockfish’s rating by 100. Taking a piece does not score.
- Rewarded for blunders, A move the review would call a blunder — one that gives up 20% or more of your winning chances — drops Stockfish’s rating by 100.
- Rewarded for checks, Giving check drops Stockfish’s rating by 100.
- Rewarded for promotions, Promoting a pawn drops Stockfish’s rating by 100.
- Play Shuffle: Stockfish With Three Hidden Rules, Three random hidden rules change Stockfish’s Elo as you play. The rules are shown when the game ends.
/play is the blank board, if you want to write your own combination.
