diff --git a/README.md b/README.md index 209d65a..a2a0610 100644 --- a/README.md +++ b/README.md @@ -1623,7 +1623,7 @@ The platform includes a full-featured chess game with three play modes. ### AI Difficulty Levels - **Easy** — Random legal move selection -- **Normal** — Minimax with alpha-beta pruning (depth 2), basic piece-value evaluation + center control bonus +- **Normal** — Minimax with alpha-beta pruning (depth 2) and the same piece-square evaluation as Hard - **Hard** — Minimax (depth 3) with piece-square positional tables (pawn structure, knight outposts, king safety) The AI runs entirely client-side — no backend compute required. After the human moves, the `ChessAIService` evaluates the position in a deferred `setTimeout` to keep the UI responsive. @@ -1644,7 +1644,7 @@ Online play uses a dedicated `ChessHub` SignalR hub (`/hubs/chess`) with Keycloa ### Game Persistence -Completed online games (checkmate, resignation, draw, abandonment) are persisted to MongoDB as `ChessGame` documents, storing both players, all moves, result, and timestamps. +Resignation and an agreed draw are persisted to MongoDB as `ChessGame` documents, storing both players, all moves, result, and timestamps. Checkmate and abandonment finish the live game and are not written. ### Custom Piece Sets (Art Studio)