Repository navigation
Smooth click-to-move play and accurate CPU levels - #13
Merged
Merged
Conversation
Stockfish's calibrated Elo scale starts at 1320, so the old beginner through intermediate presets were mislabeled and could play out of order. Limited levels now use UCI_Elo and search to the depth where the weakened move is chosen. Click to move lifts a piece, places it on a legal square, and writes the SAN into the moves box while the piece glides. Co-authored-by: Weldon Sams <wsams@users.noreply.github.com>
wsams
marked this pull request as ready for review
October 3, 2026 01:42
github-actions Bot
added a commit
that referenced
this pull request
Oct 3, 2026
# [1.8.0](v1.7.1...v1.8.0) (2026-10-03) ### Features * smooth click-to-move play and accurate CPU levels ([#13](#13)) ([ed4a944](ed4a944))
Contributor
|
🎉 This PR is included in version 1.8.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Click a piece to lift it, click a legal square to place it, and the moves box fills in the SAN as the piece glides. CPU strength presets now follow Stockfish 18's own Elo scale instead of the old mislabeled skill levels.
Click to move
CPU strength
Stockfish 18's
UCI_Eloscale runs from 1320 to 3190 (CCRL blitz). The previous Beginner / Casual / Intermediate presets used raw Skill Level with labels around 800–1200. Those labels were wrong: Skill 0 is about 1320, and Skill 6 is about 2360, so Intermediate could outplay Master.UCI_LimitStrengthand the Elo printed on the label (1320, 1400, 1600, 1800, 2100, 2500).1 + floor(skill)), with a time ceiling long enough for that ply to finish. Deeper search does not change a limited-strength move.Dependencies
chess1.11.2 (replaces thepython-chess1.999 alias), autopep8 2.3.2, pylint 4.1.2.click_to_move_and_cpu_levels.mp4
To show artifacts inline, enable in settings.