https://github.com/0mlml/chesshook
chess.com userscript
https://github.com/0mlml/chesshook
cheat chess chess-cheat chesscom hack userscript
Last synced: 1 day ago
JSON representation
chess.com userscript
- Host: GitHub
- URL: https://github.com/0mlml/chesshook
- Owner: 0mlml
- License: mit
- Created: 2023-02-14T21:03:33.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-07-13T23:01:36.000Z (6 months ago)
- Last Synced: 2025-07-14T01:24:48.871Z (6 months ago)
- Topics: cheat, chess, chess-cheat, chesscom, hack, userscript
- Language: JavaScript
- Homepage:
- Size: 486 KB
- Stars: 21
- Watchers: 3
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Chesshook
Chess bot userscript for chess.com
## Usage:
- Install a userscript manager, such as [Tampermonkey](https://www.tampermonkey.net/) or [Violentmonkey](https://violentmonkey.github.io/get-it/).
- Create a new script with the content of: [chesshook.user.js](https://raw.githubusercontent.com/0mlml/chesshook/master/chesshook.user.js)
- Navigate to chess.com
- Note: The hotkey to toggle the window is Alt+K, but it should render by default
## Features:
- Puzzle solver
- Intercepts puzzle solutions
- Solves puzzles with 100% accuracy in <1 second each

- Capable of putting in thousands of hours per day

- Render Threats
- Utilizes some built in chess.com functions to render undefended pieces, underdefended pieces, pinned pieces, and mates

- Autoqueue
- Automatically begins a queue for a new game after the current game ends
- Engine integration
- Includes a few native engines, but can also use any UCI-compliant engine using [this](https://github.com/0mlml/chesshook-intermediary)
- Renders a green arrow on the board to indicate the best move
- Automove
- Plays the best move generated by the selected engine
- Has a minimum and maximum move time; try to play the move within that time range
- Setting max to 0 will move instantly when the engine has a move
- Is detected by the site under 'didUseCheatMouse', but that does not appear to produce a ban
- Legit mode
- Disables the engine and automove features
- Bot game exploits
- 'Force Bot Scholars Mate': Will force the bot to play scholars mate, counts as defeating the bot for the crowns
- 'Force Draw Against Bot': Will force the bot to agree to draw
### Engines:
- [Betafish](https://github.com/Strryke/betafish), can beat the highest rated named free bot on chess.com (Francis, 2300 elo)
- [Random](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random), plays a random legal move
- [Checkmate, Check, Capture, Push](http://tom7.org/chess/weak.pdf), inspired by Tom7's paper for SIGBOVIK 2019, not very good at chess
- [External](https://github.com/0mlml/chesshook-intermediary), can use any UCI-compliant engine using an intermediary server written in Golang