Chess.com Stockfish Bot

Chess.com Stockfish Bot with Enhanced Auto-Match using Stockfish Online API

這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。

  • v1.7.0 2025-04-05

    Significant changes

  • v1.6.6 2025-04-05

    Authors

  • v1.6.6 2025-03-22

    Improved auto-match

  • v1.6.2.17 2025-03-21

    Downgraded due to not moving

  • v1.6.2.19 2025-03-21

    Tried to fix click to play as guest, still doesn't work

  • v1.6.2.17 2025-02-28

    1.6.2.17: Fixed rematch decline spam by adding gameEnded flag and conditional check, improved new game click by resetting hasAutoMatched and calling startNewGame on game end with delay.
    Testing Instructions

  • v1.6.2.12 2025-02-28

    1.6.2.4: Initial fix for depth jumping from 11 to 100, integrated Stockfish API response parsing (bestmove b7b6), fixed AI not moving with L key by refining movePiece and rescan.
    1.6.2.5: Improved board detection, fixed rescan FEN generation (still had issues), enhanced move execution logging, addressed "Chessboard not found" errors.
    1.6.2.6: Fixed UI not loading by ensuring UI creation outside board check, corrected rescan piece parsing to avoid TypeError, improved board detection reliability.
    1.6.2.7: Fixed UI glitch with better CSS (z-index: 10000, padding, borders), ensured moves execute with Auto Move enabled, refined event binding timing.
    1.6.2.8: Fixed "always loading" by resetting isThinking in all API outcomes, updated rescan to use UCI-style square notation, capped depth at 15 in code but not fully in keys.
    1.6.2.9: Corrected rescan to properly map Chess.com squares (11-88) to FEN (0-63), fixed inverted board issue, ensured moves align with getLegalMoves.
    1.6.2.10: Capped MAX_DEPTH at 15, removed key bindings above 15 (H-M, ,), updated UI to reflect "Q-G (1-15)", fixed API depth limit errors.
    1.6.2.11: Added "Auto-Match" checkbox, triggered new game on game end by clicking "New Game" tab and "Play" button, used game-over detection.
    1.6.2.12: Modified "Auto-Match" to trigger only once on enable (not on game end), added hasAutoMatched flag, moved logic to checkbox change event.

  • v1.6.2.3 2025-02-22
  • v1.6.2.2-Official 2025-02-19

    New auto-detect update available

  • v1.6.2.1-Official 2025-02-11
  • v1.6.2-Official 2025-02-08
  • v1.6.2-Offical - Stockfish API Officiallly Finished Debugged - No Ads - FIXED - COMPLETE SCRIPT - IMPROVED MOVE HANDLING 2025-02-08
  • v1.6.2-DEBUG - Stockfish API Debug 3 - No Ads - FIXED - COMPLETE SCRIPT - IMPROVED MOVE HANDLING 2025-02-08

    See in change log script.

  • v1.4.0 - Stockfish v10.0.2 Only - No Ads - FIXED 2025-02-08
  • v1.4.0 - Stockfish v10.0.2 Only - No Ads - FIXED 2025-02-08