Chess.com Stockfish Bot

Chess.com Stockfish Bot design to defeat chess

Ajankohdalta 22.2.2025. Katso uusin versio.

Tästä skriptistä on versioita, joissa koodia päivitettiin. Näytä kaikki versiot.

  • v1.7.0 5.4.2025

    Significant changes

  • v1.6.6 5.4.2025

    Authors

  • v1.6.6 22.3.2025

    Improved auto-match

  • v1.6.2.17 21.3.2025

    Downgraded due to not moving

  • v1.6.2.19 21.3.2025

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

  • v1.6.2.17 28.2.2025

    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 28.2.2025

    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 22.2.2025
  • v1.6.2.2-Official 19.2.2025

    New auto-detect update available

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

    See in change log script.

  • v1.4.0 - Stockfish v10.0.2 Only - No Ads - FIXED 8.2.2025
  • v1.4.0 - Stockfish v10.0.2 Only - No Ads - FIXED 8.2.2025