ChessHutGet the app
Free tool

Play chess against the computer

Pick a level and a colour, then drag a piece or tap it and then its square. The computer opponent runs in your browser, so it works without an account.

♜︎8
♞︎
♝︎
♛︎
♚︎
♝︎
♞︎
♜︎
♟︎7
♟︎
♟︎
♟︎
♟︎
♟︎
♟︎
♟︎
6
5
4
3
♟︎2
♟︎
♟︎
♟︎
♟︎
♟︎
♟︎
♟︎
♜︎1a
♞︎b
♝︎c
♛︎d
♚︎e
♝︎f
♞︎g
♜︎h

Your move.

Level and colour apply when you start a new game. The level changes at once.

You move first.

Engine: Stockfish (GPLv3), running in your browser through stockfish.js (Stockfish 19 lite, single-threaded; licence). Nothing is sent to a server.

Play and train offline on your phone: get ChessHut

Want rivals, progression and full offline play? The ChessHut app has eight computer rivals, each with their own personality and style, that you beat one by one, plus puzzles and lessons. It is a separate engine setup from this page, made for the app. Free, with an optional Pro upgrade.

How to play

  1. Choose a level from 1 (First game) to 8 (Full strength). The level changes straight away.
  2. Choose your colour, White, Black or Random, and press New game. White moves first.
  3. Move by dragging a piece, or tap it and then tap where it should go. Dots show the legal squares.
  4. Promote a pawn on the last rank by choosing a queen, rook, bishop or knight.
  5. After the game, press Analyse this game to replay it on the analysis board and see where it turned.

Tips for beating the computer

  • Before every move, check what your opponent's last move attacks. Most games at the lower levels are decided by an undefended piece.
  • Develop your knights and bishops, castle early and keep your king safe. Our guide to opening principles explains why.
  • Look for checks, captures and threats on every move, for you and for the computer.
  • Practise the patterns in our free puzzles and learn the common opening traps so you don't fall into them.

Frequently asked questions

Is it free to play chess against the computer here?

Yes. There is no account and no limit on games. The computer opponent runs on your own device in your browser.

Which level should I start with?

If you are new to chess, start at level 1 or 2: the computer makes real mistakes and leaves pieces undefended. Move up a level when you win most games. Levels 7 and 8 are very strong and will beat almost every human player.

How strong is each level?

The levels use Stockfish's Skill Level setting together with a depth and time limit, so the low levels deliberately choose weaker moves. We don't give the levels ratings because the strength also depends on how fast your device is.

Can I take back a move?

Yes. Undo takes back your last move and the computer's reply, so it's your turn again. Use it to learn, then try to play without it.

How does the game end?

The game recognises checkmate, stalemate, threefold repetition, the 50-move rule and insufficient material, and tells you the result. You can also resign and start a new game.

Can I play from a particular position?

Yes. Set it up in the board editor or the analysis board and choose "Play from here". You play the side whose turn it is.

More free chess tools