Jogato

Chess

Made by JogatoBoardStrategyHTML

Full chess with castling, en passant and checkmate, against the computer.

Chess

by Jogato

loading…

Controls: Click a white piece, then a highlighted square.

Score: moves (lower is better). It counts when the match ends.

Leaderboard

Loading…

About the game

Chess is the classic strategy board game, here to play in the browser against the computer. You play White and make the first move; the goal is to checkmate the black king.

The rules are complete: castling, en passant capture, check, checkmate and stalemate. A game is also drawn when 50 moves pass without a capture or pawn move, or when the same position appears three times. Every pawn that reaches the last rank is promoted to a queen.

The computer uses alpha-beta search and looks a few moves ahead, making it an opponent for quick games with no clock pressure. If you win by checkmate, your score is the number of moves you made, and fewer is better. For a version with a die and cards, see Chess RPG.

  • White king with a golden cross on top, in ivory and gold
    White king
  • White queen with a pointed crown, in ivory and gold
    White queen

How to play

  1. Click a white piece to select it; the squares it can go to are highlighted.
  2. Click a highlighted square to move. Only legal moves are shown, so a move that would leave your king in check isn't offered.
  3. To castle, select the king and click the destination square two files away, when castling is available.
  4. The computer answers right away with Black; the last move of each side appears below the board.
  5. When your king is in check, the game tells you and highlights the king.
  6. Use Undo to go back to your last move, along with the computer's reply.
  • White knight in profile, with a golden mane
    White knight
  • White pawn, the smallest piece, in ivory and gold
    White pawn

Game modes

  • 1 player. One player with White against the computer with Black. Checkmate wins; your result is the number of moves it took you to win.

Tips

  • If your king is in check, only the moves that resolve the check are highlighted: select pieces until you find the defense.
  • Before each move, look at the text below the board: it shows your last move and the computer's reply.
  • Promotion is always to a queen, so taking a pawn to the last rank guarantees a second queen.
  • Watch out for stalemate: if your opponent has no moves and is not in check, the game ends in a draw.

The pieces

  • Black queen with a pointed crown, in black and silver
    Black queen
  • Black rook with battlements on top, in black and silver
    Black rook
  • Black bishop with a rounded mitre, in black and silver
    Black bishop
  • Black knight in profile, in black and silver
    Black knight

Frequently asked questions

Does this Chess have castling and en passant?

Yes. The game implements the full rules: castling, en passant, check, checkmate and stalemate, plus draws by the 50-move rule and by threefold repetition.

Can I choose the piece for pawn promotion?

No. When a pawn reaches the last rank, it is promoted to a queen automatically.

How does scoring work?

If you win by checkmate, your score is the number of moves you made, and fewer is better. Losses and draws don't record a score.

Can I undo a move?

Yes. The Undo button goes back to your last move together with the computer's reply, and can be used more than once.

Related games

More Jogato games if you like Chess.