Name
chess: full rules, against an alpha-beta engine or a friend.
Rules
- Standard chess: pieces move as they do in real chess, including castling, en passant, and pawn promotion (auto-queens).
- Deliver checkmate to win; the game ends in a draw on stalemate, threefold repetition, insufficient material, or the 50-move rule.
Controls
- Tap one of your pieces to select it. Legal destinations are highlighted with dots (moves) or rings (captures).
- Tap a highlighted square to move there. Tap the piece again to deselect.
- Pick the AI strength with the
Easy / Medium / Hard chips (search depth 1, 2 and 3) and how to play with the mode selector: Play White vs AI, Play Black vs AI, 2 players (this device) or Online with a friend. Either change starts a new game.
↶ undo takes back one full pair of moves (yours + the engine's), even after the game has ended; with 2 players on one device it takes back one move.
- Online with a friend: send the invite link, paste back the reply code your friend gets, and play on two devices with no server. You host as White and move first; your friend plays Black with the board turned round. Undo is off online,
↻ new game restarts both boards, and online games don't count toward the record.
⇅ flip rotates the view. ↻ new game starts over.
- The stats line shows your wins · draws · losses against the current AI level, kept on this device. Each game counts once, when it ends; abandoning a game counts nothing.
- Keyboard: Tab to the board, arrow keys move, Enter or Space selects a piece, then its destination.
Notes
The engine uses minimax with alpha-beta pruning, captures searched first, and piece-square tables. At depth 3 it plays a decent casual game.