A powerful userscript that provides chess hints on chess.com with adjustable engine strength and customizable settings.
- Adjustable Engine Strength: Set the engine ELO from 800 to 3200
- Real-time Hints: Get best move suggestions as you play
- Visual Highlights: See suggested moves highlighted on the board
- Position Evaluation: View the current position evaluation
- Customizable Settings: Adjust hint delay, display options, and more
- Persistent Settings: Your preferences are saved between sessions
- A userscript manager extension (Tampermonkey, Greasemonkey, Violentmonkey, etc.)
- Modern web browser (Chrome, Firefox, Safari, Edge)
-
Install a userscript manager:
-
Install the userscript:
- Copy the entire content of
chess-hints-userscript.user.js - Open your userscript manager
- Create a new script
- Paste the code and save
- Copy the entire content of
-
Visit chess.com and start playing!
- Navigate to any chess.com game page
- Look for the "Chess Hints Settings" panel in the top-right corner
- Click "Enable" to start receiving hints
- The engine will analyze the current position and show the best move
- Range: 800 - 3200
- Default: 1500
- Lower ELO: Easier hints, more mistakes
- Higher ELO: Stronger hints, fewer mistakes
- Range: 0 - 5000ms
- Default: 1000ms
- Controls how often the engine analyzes the position
- Show Best Move: Highlight the suggested move on the board
- Show Evaluation: Display position evaluation (e.g., +1.5, M3)
- Show Move Number: Include move numbers in notation
- Yellow Highlight: Starting square of the suggested move
- Green Highlight: Target square of the suggested move
- Center Popup: Shows the move notation (e.g., "E2 → E4")
- Stockfish 15.1: Chess engine for analysis
- Chess.js: Chess logic and move validation
- CDN Sources: All dependencies are loaded from CDN for reliability
- Chrome 80+
- Firefox 75+
- Safari 13+
- Edge 80+
- Engine analysis runs in a Web Worker to avoid blocking the UI
- Analysis depth is limited to 15 plies for reasonable performance
- Settings are cached locally for faster loading
- Do not use in rated games - This violates chess.com's terms of service
- Use responsibly - Only use for learning and practice
- Respect fair play - Don't use against other players without their knowledge
Script doesn't load:
- Check that your userscript manager is enabled
- Verify the script is installed correctly
- Check browser console for errors
No hints appearing:
- Make sure hints are enabled in the settings panel
- Check that you're on a chess.com game page
- Try refreshing the page
Engine not responding:
- Check your internet connection (Stockfish is loaded from CDN)
- Try disabling and re-enabling hints
- Check browser console for error messages
Board position not detected:
- Make sure you're on an active game page
- Try moving a piece to trigger position detection
- The script may need a moment to initialize
Open browser console (F12) to see debug messages and error information.
Edit the config object in the script to change default values:
const config = {
defaultEngineElo: 1500, // Default engine strength
maxEngineElo: 3200, // Maximum ELO setting
minEngineElo: 800, // Minimum ELO setting
defaultHintDelay: 1000, // Default analysis delay
// ... other settings
};The script includes comprehensive CSS styling. You can modify the GM_addStyle section to customize the appearance.
Feel free to submit issues, feature requests, or pull requests to improve the script.
This project is open source and available under the MIT License.
This userscript is provided as-is for educational purposes. Use at your own risk and in accordance with chess.com's terms of service.