Chess

Play Chess against an AI opponent powered by a rule-based engine. Choose from multiple CPU strategies and sharpen your game.

How to Play Chess

  1. Choose a CPU strategy for each side and click Start Game — or set one side to Human to play yourself.
  2. Click a piece to select it; valid moves highlight on the board. Click a highlighted square to move.
  3. The game detects check, checkmate, and stalemate automatically — a banner announces the result.
  4. Click Reset at any time to start a new game with the same settings.

Frequently Asked Questions

What CPU strategies are available?
Each CPU player can use random, aggressive, defensive, or balanced — each rule set weighs captures, threats, and board positioning differently.
Can two humans play on the same device?
Yes — set both sides to Human and pass the device between turns.
Does the game support castling and en passant?
Yes. All standard chess rules are implemented including castling, en passant, and automatic pawn promotion to Queen.
How does the rule-based AI work?
The AI evaluates a list of prioritised rules on each turn — checking for checkmate, avoiding capture, controlling the centre, and so on — and picks the highest-priority legal move.

Related Games

Chinese ChessCheckersChessboard Explorer