-
Mahmoud Aglan authored
The isStalemate() called the Stockfish API on every move just to check if the opponent had legal moves — doubling API calls from 80 to 160 per game. Now relies on the API returning no best_move as game-over signal. Differentiates checkmate vs stalemate by eval magnitude. Also reduced max moves from 80 to 60 — bot games at these levels should resolve well before that. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
374e58d2
| Name |
Last commit
|
Last update |
|---|---|---|
| Connections and docs | ||
| api | ||
| config | ||
| core | ||
| layouts | ||
| migrations | ||
| modules | ||
| public | ||
| storage | ||
| .gitignore | ||
| .htaccess | ||
| Dockerfile | ||
| EL3AB_MANAGEMENT_SYSTEM.md | ||
| EL3AB_PLAYER_APP_DATA.md | ||
| captain-definition | ||
| index.php |