Chess vs Computer

Play Chess vs Computer unblocked for free on GN Math - no download, no sign-up.

Chess vs Computer

Free · No download · Instant play

Best on a computer: this game needs a keyboard or mouse.

Chess vs Computerby Zhang Zeyu

Play next

About Chess vs Computer

Chess vs Computer is a full game of chess against a computer opponent, built by Zhang Zeyu. You play White and drag your pieces to move, while the computer answers as Black. It follows standard chess rules, including check, checkmate and draws, and the status line under the board tells you what is happening. Pawns that reach the last rank always become queens.

The computer looks a set number of moves ahead, called search depth, which you can change from 1 to 5 in Settings. Lower depths answer fast and make more mistakes, while higher ones play stronger but can pause for a few seconds before moving. An advantage bar shows which side the engine thinks is ahead. You can also turn on a suggested move for White, start from three well-known openings, take moves back with Undo, or watch the computer play itself. It works well for beginners learning the game and for players who want quick practice.

How to play Chess vs Computer

  • Mouse or touch - drag a piece to its new square
  • Mouse hover - preview the legal moves for one of your pieces
  • Undo and Redo - take back your last move and the reply, or replay them
  • Settings - change search depth or show a suggested move
  • Opening Positions - load an opening or the start position

Playing Chess vs Computer on a computer

You play White, so make the first move by dragging a piece to a new square. Hover over a piece to see where it can go. The computer replies as Black. Open Settings to change the search depth or turn on a suggested move, and use Undo to take back a mistake. Keep the depth low if you want quick replies.

Playing Chess vs Computer on a phone or tablet

Touch partly works. You can drag pieces with your finger and tap Undo, Redo, Settings and the opening buttons. Hovering to preview legal moves does not work on a touchscreen, the board can feel small on a phone, and the computer may pause for a few seconds at higher depths. A tablet or computer is more comfortable.

On a phone right now? Try Klondike Solitaire, Spider Solitaire and Checkers - they are built for touch screens.

Tips and tricks

  • Start at depth 1 or 2 while you learn. Depth 3 is the default and plays a solid game.
  • Watch the advantage bar after each move; a sudden jump usually means a piece is hanging.
  • Turn on the suggested move hint when you are stuck, then try to work out why it was picked.
  • Use Undo to replay a position where you lost material and look for a better choice.

Game details

DeveloperZhang Zeyu
CategoryCard & Board Strategy
PlatformDesktop (needs a keyboard or mouse)
TechnologyHTML5 (open source)
PriceFree
Original gamezeyu2001/chess-ai by Zhang Zeyu
Code licenseMIT
Art and soundCC BY-SA 3.0 (chess piece images by Cburnett, Wikimedia Commons); chessboard.js, jQuery and Bootstrap are MIT; chess.js is BSD-2-Clause
Hosted copyAdapted to run on GN Math - see the changes

Chess vs Computer FAQ

How do I make the computer easier?

Open Settings and set the search depth for Black to 1 or 2. A lower depth means the computer looks fewer moves ahead.

Why does the computer take a while to move?

At depth 3 and above it checks a lot of possible moves before answering, which can take a few seconds. Lower the depth if you want faster replies.

Can two people play against each other?

No. You always play White against the computer. There is a Computer vs. Computer option, but no mode for two human players.

Ready to play Chess vs Computer?

It is free and runs right in your browser - no download, no sign-up.

More games like this

Popular on GN Math

All games