Chess vs Computer Unblocked

Play White against a chess engine you can tune from gentle to tough.

Chess vs Computer

About Chess vs Computer

You drag a piece, let go, and a moment later Black answers on its own. Chess vs Computer pits you, always as White, against a small JavaScript engine that looks ahead using a minimax search. Normal chess rules apply, castling and en passant included, and the game ends on checkmate, stalemate or one of the standard draw rules. Illegal moves simply snap back.

Under Settings you choose how deep the engine searches, from 1 up to 5 moves ahead, which turns it from a pushover into a careful opponent. An Advantage bar shows who is winning after every move, and you can turn on a suggested move, undo and redo turns, or jump straight into a few famous openings to practice them. It is a handy way to sharpen your game between classes.

How to play Chess vs Computer

  1. Drag one of your white pieces to a legal square; illegal moves snap back.
  2. Wait for the computer to reply as Black, shown with a blue outline.
  3. Follow the Advantage bar to see who is ahead, and read the Status line for checks and game results.
  4. Open Settings to change the engine depth or show a suggested move for White.
  5. Use Undo to take back your move and the reply, or load an opening to start from a known position.

Chess vs Computer controls

InputAction
Drag a pieceMake a move
Hover a pieceShow its legal squares
Click / Tap Undo or RedoStep back or forward through moves
Click / Tap SettingsChange engine depth or turn on hints
Click / Tap Opening PositionsLoad an opening or restart

How to play Chess vs Computer on PC and mobile

On PC, laptop or Chromebook

  1. Press Play on this page – the game loads right here, with nothing to download.
  2. Click Fullscreen under the game for the biggest view. Press Esc to exit.
  3. Click once inside the game so it receives your keyboard input.
  4. Controls: Drag a piece make a move; Hover a piece show its legal squares.

On phone or tablet

  1. Open this page in Chrome or Safari and tap Play.
  2. Turn your device to landscape – the game is designed for a wide screen.
  3. Touch controls: Click / Tap Undo or Redo to step back or forward through moves; Click / Tap Settings to change engine depth or turn on hints; Click / Tap Opening Positions to load an opening or restart.
  4. Tap Fullscreen to hide the browser bars.

Tips and tricks

  • Win a few games at a low depth before raising it; each step up makes the engine slower but sharper.
  • If the Advantage number swings hard after your move, look for a piece you left undefended.
  • Treat the suggested move as advice, not orders, and decide whether you agree before playing it.
  • Promotion here is always to a queen, so double-check for stalemate before pushing that last pawn.

Chess vs Computer FAQ

How hard is the computer?

It comes down to the depth you set in Settings, anywhere from 1 to 5, with 3 as the default. Deeper searches play much better but take longer to move.

Can I underpromote a pawn?

No. Any pawn that makes it across the board turns into a queen on its own, and the same goes for the computer's pawns.

Can I play as Black?

You are always White. If you want to see the engine take on itself, there is a computer vs computer option.

Can I play Chess vs Computer for free?

Yes. Chess vs Computer is free to play in your browser on The Pizza Edition – no download, install or account needed, and there are no ads inside the game itself.

Does Chess vs Computer work on Chromebook and mobile?

Chess vs Computer runs in any modern browser on Chromebooks, Windows PCs and Macs. It is designed for keyboard and mouse, so it plays best on a laptop or Chromebook rather than a phone.

Who made Chess vs Computer?

Chess vs Computer (originally released as chess-ai (Simple Chess AI)) was made by Zhang Zeyu and released as open source under the MIT license. The Pizza Edition hosts the game files on its own servers, so it loads straight from this site.

Credits and license

Original game
chess-ai (Simple Chess AI)
Made by
Zhang Zeyu
Source code
github.com/zeyu2001/chess-ai
Code license
MIT
Art and sound
CC BY-SA 3.0 (chess piece images by Cburnett, Wikimedia Commons); chessboard.js, jQuery and Bootstrap are MIT; chess.js is BSD-2-Clause

Chess vs Computer runs from this site with small changes, which are listed in “What we changed”. The original license and credits are kept with the game files.

Games like Chess vs Computer

More card & board

Explore more categories