Chess Game - Play Chess Online Free
Games & Puzzles
Play standard chess against a simple browser AI with legal moves, castling, en passant, and a choice of promotion pieces. Your game stays on this device.
How to use this tool
- You play as White. Click a white piece to select it.
- Click a highlighted square to move to that square.
- The AI will make its response move automatically.
- Checkmate the opponent: put their King in check with no legal escape.
About Chess
Chess is a two-player strategy board game played on an 8×8 grid. Each player starts with 16 pieces: one King, one Queen, two Rooks, two Bishops, two Knights, and eight Pawns. The objective is to checkmate the opponent's King.
This board uses legal chess moves: a move is unavailable if it leaves your own King in check, and the opposing King cannot be captured. The game reports check, ends with a win on checkmate, and records stalemate as a draw. Use it for a casual practice game against the browser's beginner-level opponent; the material values below are educational estimates, not the AI's exact evaluation formula.
Piece movements
| Piece | Movement | Value (centipawns) |
|---|---|---|
| King (♔) | One square in any direction | - (cannot be traded) |
| Queen (♕) | Any number of squares in any direction | ~900 |
| Rook (♖) | Any number of squares horizontally or vertically | ~500 |
| Bishop (♗) | Any number of squares diagonally | ~330 |
| Knight (♘) | L-shape: 2 squares in one direction + 1 perpendicular; can jump over pieces | ~320 |
| Pawn (♙) | One square forward (two on first move); captures diagonally | ~100 |
Special moves
- Castling: the King moves two squares toward a Rook, and that Rook moves to the square next to the King. The King and Rook must not have moved, the squares between them must be empty, and the King cannot castle out of, through, or into check.
- En passant: immediately after a pawn advances two squares from its starting position and lands beside an opponent's pawn, that adjacent pawn may capture it as though it had advanced one square. The opportunity expires after that next move.
- Promotion: a pawn reaching the opponent’s back rank is promoted to any Queen, Rook, Bishop, or Knight. This board asks you to choose; the AI promotes to a Queen.
Win conditions
- Checkmate: the opponent’s King is in check and has no legal move to escape. The player who delivers checkmate wins.
- Stalemate: the player to move has no legal move but is not in check. The game is drawn. This board does not implement resignation, threefold-repetition, fifty-move, or insufficient-material draw rules.
AI difficulty
The built-in AI uses a single-ply greedy evaluation based on material value. It will make captures when available but does not look ahead, making it suitable for beginners.
Opening principles
- Control the center: place pawns and pieces on or aimed at the central squares (e4, e5, d4, d5). Central pieces have more mobility and influence.
- Develop knights before bishops: knights have only one ideal destination from the start (toward the center), while bishops' optimal diagonals depend on the pawn structure that develops later.
- Castle when it is safe: this board supports castling when the King and Rook have not moved, the path is clear, and the King is not in or passing through check. Castling can tuck your King away from the center and connect your Rooks, but timing depends on the position.
- Don't move the same piece twice in the opening: each tempo spent repositioning an already-developed piece is a tempo not spent developing another piece.
- Don't bring your queen out too early: the queen can be harassed by minor pieces, wasting tempi. Develop knights and bishops first.
Endgame basics
- King activity: in the endgame, the king becomes a fighting piece. Centralize it immediately; a king on e4 or d5 is far stronger than one on g1.
- King and Rook vs. King: this is the most fundamental checkmate to learn. Use the rook to cut off the enemy king, then drive it to a corner or edge using king opposition.
- Opposition: two kings are "in opposition" when they face each other with one square between them. The player who does not have the move has the opposition and the positional advantage in king-and-pawn endings.
- Passed pawns: a pawn with no opposing pawns in front of it or on adjacent files is a passed pawn. Pushing passed pawns is often the winning strategy in the endgame.
Frequently asked questions
How do I move pieces?
Click a piece to select it (valid moves are highlighted), then click a destination square.
What rules are supported?
The board supports legal chess moves, check, checkmate, stalemate, castling, en passant, and promotion to a queen, rook, bishop, or knight. The AI promotes to a queen automatically. Threefold repetition, the fifty-move rule, insufficient-material draws, and resignation are not implemented.
Can I move my King into check or capture the opposing King?
No. Moves that leave your King in check are not offered, and Kings are never captured. Checkmate wins; stalemate is a draw.
How does the chess AI choose a move?
The AI looks one move ahead and greedily chooses a legal move with the best material balance. It does not use a deeper search engine, so it can miss tactics.
More games & puzzles
- 2048Slide numbered tiles on a 4×4 grid to combine them and reach the 2048 tile in this addictive puzzle game.
- Aim TrainerImprove your mouse accuracy and click speed. Targets appear at random positions - click them as fast as possible. Track your accuracy and average reaction time.
- Blind Spot TestFind your eye's natural blind spot (optic disc) using a monocular fixation test. Cover one eye, fixate on the cross, and discover where the dot vanishes from your field of view.
- Block StackerStack falling tetrominoes to clear lines in this Tetris-style puzzle game.
- Brick BreakerBreak all the bricks with a bouncing ball and paddle.
- Checkers GamePlay checkers (draughts) against an AI opponent in your browser.