Board Games

Chess

By Douglas Bagnall and P4wn contributors · Free browser game

Chess preview

Ready to play?

Play here with no in-game ads. Hosted by TapGameHub; no account or installation required. Progress, where supported, stays in this browser.

Select Play game to start here.

Updated

About Chess

Chess is a strategy board game for two players, played on an 8×8 board with sixteen pieces each: a king, a queen, two rooks, two bishops, two knights and eight pawns. Each piece moves in its own way, and the goal is to checkmate the opponent’s king, attacking it so that it has no safe square to escape to. It is one of the oldest and most widely played games in the world.

This TapGameHub edition runs on P4wn, a compact open-source chess engine written in JavaScript and released into the public domain. You can play against the computer at five difficulty levels, play as either color, play a friend on the same screen, undo moves and pick up a saved game later. The board uses clear public-domain piece artwork and resizes to fit your screen.

How to play

  1. You play White at the bottom of the board and move first.
  2. Click one of your pieces, then click the square you want to move it to. Click the piece again to put it back down.
  3. Only legal moves are accepted, including castling, en passant and pawn promotion. If you try an illegal move, the piece stays where it is.
  4. The computer replies automatically. Every move is written to the move list on the page.
  5. Put the opponent’s king in check with no way out to win. Play stops when checkmate is reached.

Each piece moves differently. The king moves one square in any direction. The queen moves any distance in a straight line or diagonal. Rooks move in straight lines, bishops on diagonals, and knights jump in an L shape. Pawns move straight forward and capture diagonally.

Controls

Action How
Pick up a piece Click or tap it
Move the piece Click or tap the destination square
Take back your last move undo button
Change sides swap button
Set each side to human or computer white and black buttons
Choose the promotion piece pawn promotes to button
Change difficulty computer level button
Start over New game button

You can also play with a keyboard: press Tab to move between squares, then Enter or Space to pick up a piece and again to place it.

Against the computer, undo takes back both the computer’s reply and your last move, so it is your turn again.

Difficulty levels

  • Beginner looks only one move ahead. It is ideal for learning how the pieces move.
  • Easy is the starting level. It spots simple threats but misses longer combinations.
  • Medium and Hard look further ahead and punish loose pieces and simple blunders.
  • Expert searches the deepest and takes the longest to reply. Expect a real fight.

Strategy tips

  • Control the center. Pawns and pieces on the central squares have the most influence. Start with a center pawn move such as e4 or d4.
  • Develop your knights and bishops early. Bring them out before you move the same piece twice or launch an attack.
  • Castle early. Castling tucks your king behind pawns and connects your rooks. A king stuck in the center is an easy target.
  • Check every capture and threat. Before each move, ask what your opponent is attacking and whether your move leaves anything undefended.
  • Count the value of pieces. As a rule of thumb, a pawn is worth 1, a knight or bishop 3, a rook 5 and a queen 9. Trade when it helps you, not just because you can.
  • Use undo to learn. If the computer catches you with a tactic, undo, find the move that would have prevented it, and try again.

Frequently asked questions

How do I change the computer's difficulty?

Click the computer level button below the board to cycle through Beginner, Easy, Medium, Hard and Expert. The game starts on Easy. Higher levels look further ahead and take a little longer to reply. You can change the level at any point during a game.

Can I play as Black?

Yes. Click swap to change sides with the computer. The board turns around so your pieces are always at the bottom, and the computer makes its move straight away if it is now White's turn.

Can two people play on the same device?

Yes. The white and black buttons switch each side between a human and the computer player. Set both sides to human and take turns on one screen. You can also set both to computer and watch the engine play itself.

How do I promote a pawn to something other than a queen?

Before you move your pawn to the last rank, click the pawn promotes to button until it shows the piece you want. You can choose a queen, rook, knight or bishop. The setting stays until you change it again.

What does the Draw? button mean?

It appears when the position can be claimed as a draw, for example after the same position repeats or after fifty moves without a capture or pawn move. Click it to accept the draw and stop play, or keep playing if you think you can still win.

Is my game saved if I close the page?

Yes. The current position and which side each player controls are saved in this browser after every move. When you return, the game continues from the same position. The move list and undo history start fresh, and New game clears the saved position.

Game not loading or controls not responding? See help with loading, controls and saves.

Find your kind of play

Search by game name or explore a collection.

2048Puzzle GamesA Dark RoomAdventure GamesAstrayPuzzle GamesDesert RacingRacing GamesOpen Tower DefenseStrategy GamesEvolveSimulation GamesChessBoard GamesKlondike SolitaireCard GamesHextrisPuzzle GamesRadius RaidAction GamesGem CavernsAdventure GamesFour in a RowBoard GamesCheckersBoard GamesReversiBoard GamesDots and Boxes2 Player GamesAir Hockey2 Player GamesHoop ShotSports GamesMini GolfSports GamesPizza RushCooking GamesStyle StudioDress Up GamesMath SprintLearning & Creative GamesWord SearchLearning & Creative GamesMinesweeperPuzzle GamesSudokuPuzzle GamesFreeCellCard GamesSunny LemonadeSimulation GamesSnakeAction GamesBrick BounceAction GamesTurbo LapsRacing GamesTreasure MazeAdventure GamesSea BattleStrategy GamesTower BlocksAction GamesUnderrunAction GamesAction GamesArcade · Shooters · SkillAdventure GamesExploration · Mazes · MysteriesPuzzle GamesLogic · Numbers · MatchingRacing GamesDriving · Top-down racing · Time trialsSports GamesBasketball · Mini golf · AimingStrategy GamesTower defense · Naval battle · TacticsSimulation GamesIncremental · Business · ManagementDress Up GamesFashion · Outfits · Style challengesCooking GamesPizza · Orders · Time managementCard GamesSolitaire · FreeCell · Classic cardsBoard GamesChess · Checkers · Computer opponent2 Player GamesSame screen · Multi-touch · VersusLearning & Creative GamesArithmetic · Words · Spelling