r/ComputerChess • u/solarflare1121 • 9h ago
r/ComputerChess • u/Rod_Rigov • Sep 18 '26
Engine Release Stockfish 19
r/ComputerChess • u/Stunning-Papaya5239 • 9h ago
AI board game benchmark (chess)
aihallucinationcascade-web.vercel.appr/ComputerChess • u/SQChess • 10h ago
Shadow Queen Chess
reddit.comShadowqueenchess.com
Rules page available, but play bot to learn also. Level up, Hard is more real but still easier to beat than a human. Have fun.
r/ComputerChess • u/dig9977 • 13h ago
Chess engine to find checkmate vs humans as fast as possible - does anything else like this exist?
Inspired by YouTube challenges where GMs must mate amateurs within 20–25 moves, I wondered: how fast could a chess engine checkmate a human if that were its only objective? (and knowing it must resign on, say, move 26 no matter what)
What I built: an engine explicitly optimized for speed of mate against humans. Details:
- Openings: started by mining ~100GB of Lichess games for Elo-specific opening books (shortest average games, not best evals). Now the books are built offline by simulating games against Maia-3 at each rating, with a separate book for each move limit. For the shortest limits it uses a value net trained by self-play against Maia-3.
- Midgame: uses Maia-3 to predict likely human responses. Stockfish suggests candidate moves, each one gets played out in a bunch of simulated games vs Maia, and it plays whichever mates most often before the deadline. As a result, it plays moves that an engine like stockfish would destroy, but that a human will probably fail against.
- Endgame: 2-3 moves from the deadline it switches to an exact calculation of the mate chance over the human's likely replies (not forced mates, but most likely mates against a human).
Why standard engines struggle: even aggressive engines optimize for objective soundness and win probability instead of risky lines that might mate much faster. I've had this program running for over a year, and it exists as a lichess bot, and A/B testing shows it is better than Leela with high Cpuct, Komodo with high contempt, stockfish 11 with high contempt, and stockfish 19. I'm an average player and can avoid checkmate until move 41 vs stockfish19, around move 35 against the other "aggressive" engines, but can never last until move 25 against this engine.
I'd love links to any work/projects on minimizing time-to-mate against human play (I couldn't find any). I have no intent to ever make money from this. Just a fun project.
Apologies this is sort of a repost from a year ago (and I've posted about this a few times in between), but LLMs have contributed to a lot of new chess projects and I'm wondering if anyone else has tried this. It seems like an intrinsically interesting problem to me, and I would guess someone smarter than me has done something better, maybe using a custom Leela training build.
If anyone wants to try it, you can play here & view code: http://siegechess.com
It's also playable on LiChess as
https://lichess.org/@/mate-in-twenty (best if your ELO is ~1400 or lower)
https://lichess.org/@/mate-in-thirty (1400–2200)
https://lichess.org/@/mate-in-forty (2200+)
r/ComputerChess • u/turunju8899 • 23h ago
All 4 rulesets of 4x5 Microchess weakly solved as Draw (with a 0-dependency Rust verifier & 91.19M-state exhaustive TB audit)
I have weakly solved and independently machine-checked all four published ruleset variants of Dan Glimne's 4x5 Microchess (`rbnk` and `knbr` layouts, both with and without back-rank castling). All four have exact game-theoretic value **Draw** (`1/2 - 1/2`):
- `rbnk/p3/4/3P/RBNK w - - 0 1` (Fairy-Stockfish `[microchess:gardner]` / PyChess): **Draw** (`2,991` & `285,143` DAG nodes)
- `knbr/p3/4/3P/RBNK w - - 0 1` (Green Chess / Dan Glimne): **Draw** (`5,393` & `199,399` DAG nodes)
- `knbr/p3/4/3P/RBNK w Qk - 0 1` (1997 back-rank castling): **Draw** (`42,334` & `241,676` DAG nodes)
- `rbnk/p3/4/3P/RBNK w Qq - 0 1` (symmetric castling): **Draw** (`3,008` & `366,092` DAG nodes)
- **Tablebase:** Complete reachable `<=5`-piece DTM TB (`108` strata, `91,187,486` legal states).
- **Zero-trust verification:** `crates/microchess-verify` has empty `[dependencies]`, uses an independent 2D board and collision-free `[u8; 22]` state keys, checks Perft, exhaustively Bellman-audits all `91,187,486` TB entries (`263.95 s`, `0` errors), and replays all 8 SHA-256-sealed `.dag` proof certificates.
- **Total core solve time (all 4 variants):** `10.51 min` (`630.55 s`, `121.66M` nodes) on a single 6-core machine.
- **GitHub & Proofs:** https://github.com/MuhammadSadiyev/microchess-4x5-solved
- **Preprint PDF & 108-Stratum TB Archive (Zenodo DOI):** https://doi.org/10.5281/zenodo.24579901
Would love independent verification runs (`cargo run --release -p microchess-verify`) and any feedback!
r/ComputerChess • u/Timely_Huckleberry88 • 1d ago
Multi-Head Architecture for Search-Based Chess
I would like to share my thoughts on a Multi-Head Architecture for Search-Based Chess such that we have an NNuE that reuses the expensive Feature Input Weights to identify if the position is quiet or not rather than using SEE + Captures.
I'm in the middle of running a 1 billion position training loop for the NNuE and I am able to hit 99%+ accuracy for quiet / noisy position and I'm working on the specifics of how this would impact the pruning / Q-search.
I would be really happy if folks have any thoughts on this approach, specifically if this was tested before and if this would be viable for detecting Zugwag positions.
r/ComputerChess • u/Ok_Permission9256 • 1d ago
I made a Maia style chess bot that finds your weak spots and steers games into them
I peaked at 1300 on chess.com and I got tired of not having anything good to practice against. Stockfish is way too strong to learn from, and the easy bots blunder in ways no real person ever would. So I built my own sparring partner.
It's heavily inspired by Maia. Mine is a much smaller net (6 res blocks, 64 channels) trained on 200k lichess games, and it predicts the move a human at a given rating would play about 45% of the time. Maia gets around 51%, so it's not beating them, but it's close enough that it actually feels like playing a person. By rating it goes from 39% at 600 up to 47% at 1200.
The part I care about most is the weakness stuff. It pulls your games from chess.com or lichess, runs Stockfish over them, and compares how you do in different kinds of positions against your opponents at the same rating in those same games. For me the big one was converting winning positions. I lose about 6.5% winning chances per move there versus 5.1% for people at my rating, which honestly surprised me.
Then the sparring mode tries to steer games into those positions and adjusts its strength to keep you winning around half the time. You can also fine tune it on your own games and do drills that start from positions where you messed up.
It's free, GPL 3, and runs on your own computer. Here's the repo if you want to try it
https://github.com/DavidAndree/r64-chess-engine
One thing I'm honestly not sure about is whether steering games toward a type of position actually works. I've tested it a bit but my sample is small, so if anyone has ideas on how to measure that better I'd love to hear them.
r/ComputerChess • u/JohnMcLondon • 1d ago
Advice needed: Electronic chessboard for solo practice
Hi everyone,
I’m looking for an electronic chessboard for my kids so she can practice solo and stay fully focused on the game without getting distracted.
Ideally, I’d love a board where the opponent's pieces physically move by themselves via a hidden magnetic mechanism under the board (no visible robotic arm).
However, if magnetic self-moving boards are currently too expensive or still too buggy/unreliable in practice, I would also really appreciate recommendations for boards that very clearly and visually indicate directly on the board which piece needs to be moved where (e.g., intuitive square LEDs or rings).
My requirements:
* Budget: As cheap as possible, as expensive as necessary
* No robotic arm: Either hidden magnetic movement or very clear on-board visual cues.
* Setup: Pairing with a tablet/app to start a game is fine, as long as she doesn't need to look at a screen once the match is running and can focus purely on the board.
* Difficulty: Needs beginner-friendly AI levels.
Would you recommend hunting for a magnetic self-moving board, or are visual-indicator boards simply the better and more reliable choice for a kid right now? Any specific model recommendations or personal experiences are very welcome!
Thanks in advance!
r/ComputerChess • u/Timely_Huckleberry88 • 1d ago
Multi-Head Architecture for Search-Based Chess
I would like to share my thoughts on a Multi-Head Architecture for Search-Based Chess such that we have an NNuE that reuses the expensive Feature Input Weights to identify if the position is quiet or not rather than using SEE + Captures.
I'm in the middle of running a 1 billion position training loop for the NNuE and I am able to hit 99%+ accuracy for quiet / noisy position and I'm working on the specifics of how this would impact the pruning / Q-search.
I would be really happy if folks have any thoughts on this approach, specifically if this was tested before and if this would be viable for detecting Zugwag positions.
r/ComputerChess • u/Mysterious-Tutor-889 • 1d ago
Chess players do mathematics on every move without noticing. Here's what it says about the pieces.
Every chess player already knows some mathematics:
- A bishop never changes colour, and a knight changes colour on every jump. That's parity, counting modulo 2.
- A knight's "two up, one across" is the same from any square. That's a vector.
- Turn the board 90° or look at it in a mirror, and a rook still moves like a rook. That's symmetry. A square has eight of them.
The symmetries sort every possible move into three families: straight, diagonal and crooked (neither straight nor diagonal). There's no fourth family. The shortest move of each family is one square straight, one square diagonally, and the knight's jump. So the rook, bishop and knight aren't random inventions. Each is the simplest move of one family.
Combine those three moves and you get exactly 2³ − 1 = 7 pieces. Chess uses four: rook, bishop, knight, and queen = rook + bishop. Once the queen made combining moves legal, three combinations were left unused: rook + knight, bishop + knight, and all three together. Those are the Chancellor, the Archbishop and the Maharajah.
To be clear about what this does not say: these aren't the only possible new pieces. The 8×8 board allows over a trillion symmetric pieces. And geometry doesn't decide how strong a piece is in play. The claim is narrower: these three complete the combinations of the moves chess already chose.
A few results from solving every king + piece vs bare king ending:
- Bishop + knight in one piece mates from every position, though neither part can mate alone.
- Its average mobility is exactly bishop + knight (8.75 + 5.25 = 14.00), because a knight never lands where a bishop could reach.
- The Maharajah mates in at most 4 moves. The queen needs up to 10.
The article is in two parts: plain chess language first, then the full mathematics (groups, orbits, Burnside's lemma, a closure theorem) for anyone who wants the proofs. The solver's source code is included.
r/ComputerChess • u/Ok_Permission9256 • 1d ago
I made a Maia style chess bot that finds your weak spots and steers games into them
r/ComputerChess • u/Imaginary-Carry6087 • 1d ago
What would make you enjoy playing chess against a computer more?
I'm developing a free browser-based chess game and would love to hear from people who are learning chess.
Do you find bots too difficult, too predictable or frustrating when they make unrealistic mistakes?
Would helpful hints during a game make learning more enjoyable? Or would you prefer to understand your mistakes afterwards?
What would make you want to play another game, even after losing?
I'd genuinely love to hear your experiences.
r/ComputerChess • u/Dry-Remote-2937 • 1d ago
I made Ruru Chess, a free open-source Windows app to analyze games and improve at chess - with local databases, live study with friends and teams, a PDF chess book importer, opponent prep, and built-in training (tactics, endgames, and classic strategy lessons) all in one
Hi everyone! I've been building Ruru Chess, a free, open-source chess study and database app for Windows, and v3.1.0 just came out.
GPL-3.0 (with some AGPL-3.0 components from Lichess), Windows 10 & 11, no ads, no subscriptions, no telemetry, and your files stay on your PC.
- Site & downloads: https://ruruchess.com
- GitHub: https://github.com/RuruChess/ruru-chess
- 2-min demo: https://youtu.be/YMHT8N0o0So
What it does:
- Friends, study teams & sharing: optional account (no email or password) for a permanent friends list and study teams right inside your library. Annotate games or build opening prep, send the PGN in a friend or team chat, and they import your work into their own library in one click - plus see who's online and invite them to play or analyze together.
- Shared live analysis (play.ruruchess.com): send a link to a friend, coach or student and they join from their browser with no account. Move pieces and test lines together with shared Stockfish lines, encrypted WebRTC voice/camera, and synced YouTube (plus Twitch/Kick) beside the board. Any live tournament game can become a shared room in one click.
- Local databases: fast SQLite indexing for millions of games. Opens .pgn, .cbh, .cbv and .si4 (even inside .7z/.zip) without touching your originals, and exports clean PGN anytime. No database is bundled, so you bring your own files.
- Engine analysis: Stockfish, Leela Chess Zero and Maia (1100-1900), multi-PV arrows, full-game blunder check with accuracy/ACPL graph, a second engine, opening reference stats and optional 7-piece Syzygy lookups.
- Book to Database: offline importer that turns PDF chess books you own into playable games with variations, author notes and exercises (plus basic OCR for scans). Works best on clean digital PDFs.
- Opponent prep: combines your local FIDE/OTB databases with public Lichess or Chess.com usernames into one dossier with an interactive White/Black repertoire tree.
- Training: offline tactics (Glicko-2, spaced repetition & cycles), a spaced-repetition repertoire trainer, 50 interactive Capablanca/Tarrasch strategy lessons that ask for your move at critical moments, 36 endgame lessons with Stockfish drills, and human-like bots.
Heads up: I don't have a code-signing certificate yet (applied to SignPath Foundation, waiting on review), so Windows SmartScreen will probably warn on first run. SHA-256 checksums are on the site and release page, official builds come from GitHub Actions, or you can run from source.
It's a solo project, so bug reports and suggestions are very welcome.
r/ComputerChess • u/pbcgw • 1d ago
Exact move sequences
Has anyone built an exact move-sequence database for billions of chess games?
I'm interested in developing a chess database that tracks exact move sequences rather than combining positions reached through transpositions.
Imagine being able to finish a chess game and immediately discover:
- The closest historical matches to your game.
- The exact move where each game diverged.
- Who played those games and who won.
- The point at which your game became historically unique.
- Whether your entire game has ever been played before.
Ideally, this would include complete games rather than just openings, using the billions of games publicly available through the Lichess database.
I've already submitted a feature suggestion to Lichess, but I'm also interested in potentially developing an independent open-source project.
Has anyone attempted something like this? Would anyone be interested in researching or developing it collaboratively?
r/ComputerChess • u/MaksimPrilipa • 1d ago
I built Trophy Chess — a chess variant (with custom 7-level AI) where capturing a piece grants its move as a one-time charge
Hi everyone!
As a chess player, I’ve long wanted a chess variant that breaks memorized opening theory right after the very first trade, without turning standard chess into a completely different game with dozens of complex rules. That’s how "Trophy Chess" was born — regular chess with just one added rule.
How It Works
When your piece captures an opponent's piece, it gains that piece's movement pattern as a one-time "charge." Capture a knight, and your piece can make a knight move once; if a pawn captures a rook, it can blast across the entire board once.
The rules are simple and balanced:
No redundant duplicates: A charge is only granted when it adds a new movement capability (e.g., a rook capturing a rook gets nothing).
One charge per piece: A piece can hold only one charge at a time and uses it instead of a regular move. The King never receives charges.
Full-fledged move: A charge move can capture, give check, and deliver checkmate.
Board Readability
When pieces gain hidden movement options, calculating lines blindly gets tough. To keep the game comfortable to read, available charge moves are marked with diamond icons, and a "Threats" button highlights all squares currently attacked by your opponent's charges.
Current Features (and Engine / AI)
7 AI difficulty levels: From beginner to expert — designed to play in a human-like style, relying on master games in the opening and evaluating dynamic charge threats.
Online & Local PvP: Challenge a friend via an instant invite link (Telegram, Viber, or WhatsApp), or play pass-and-play on a single device; offline play works without an internet connection.
Time controls & Ratings: Bullet, Blitz, and Rapid, with separate online ratings for both Trophy Chess and Classical Chess.
Game archive & Analysis: Player stats, step-by-step move replay (◀ ▶), and a "Share Game" button (generates an image of the final position and a link to replay the full match).
The game is completely free, with no ads, no paywalls, and no mandatory registration (you can optionally sign in via Google or email to sync your rating across devices):
🌐 Website (Play in browser): https://trofeini.vn.ua/en/
📱 Google Play (Android App): https://play.google.com/store/apps/details?id=ua.vn.trofeini&hl=en
I’d really appreciate your feedback — especially on how the 7 bot levels feel, how the AI handles charge tactics, and overall rule balance!
r/ComputerChess • u/Careful-Ticket-4298 • 1d ago
A new great Opening for 1800+
lichess.orgIts my own selfmade Opening. I would appreciate yall to take a look at it and like the Study for the algorithm.
Have fun learning!
r/ComputerChess • u/prakasht96 • 1d ago
I ran Stockfish 19 over 5,000 elite classical games from the last 15 months. Here's how Gukesh and Sindarov compare before Game 3
Pulled every over-the-board classical game of ~150 players rated 2600+ from Lichess broadcasts (45+ min games only, no online or 960 events), then ran each through Stockfish 19 at depth 12, 7 engines in parallel.
For the World Championship:
- Accuracy: Sindarov 96.0%, Gukesh 94.4%
- Blunders per 10 games: Gukesh 2.8, Sindarov 1.0
- Time left after move 40: Gukesh 11 min, Sindarov 30 min
- Forecast for one game (rating + form + draw rates): draw 48%, Sindarov 38%, Gukesh 14%
One thing I'm unsure about: depth 12 is quick but shallow for 2700-level games. Would deeper analysis change accuracy numbers much at this level?
Comparison Link: mentochess.com/explore?site=fide&u=46616543&site2=fide&u2=14205483
Disclosure: I built this
r/ComputerChess • u/Zanoshky • 1d ago
Shipping Stockfish evaluations as data instead of an engine: how my offline opening trainer judges off book moves


I built Chess Pass, an Android opening trainer with one hard rule: no internet permission at all. That left a question this sub might find interesting: how do you tell a learner how good their off book move is, with no server and without shipping a GPL engine inside a closed source app?
What I ended up with:
- Evaluations worked out at build time. A script runs Stockfish 19 at depth 16 over every position in all 219 lines (52 openings and 15 traps), and scores every legal move the learner could play instead of the line move, in one MultiPV search per position. It takes hours, so it runs in the background with several workers writing per opening group files
- Shipped as plain data. The results ship as small JSON files, one per group, loaded lazily on a background thread with a small cache, never at startup. No Stockfish code ships in the app, only numbers it produced
- A verdict, not just a number. When you play a move that is not in the line, the app compares it with the book move (for example 3.Bc4 +0.3 against 3.g4 -1.3), names it a mistake or not, and plays out the best answer if you tap Show why
- A small engine of our own for everything live. When a line ends you can Play it out against the computer at your level. That uses a small engine written in Kotlin for the app, which also covers any position that has no shipped number
The tradeoff is clear: shipped numbers are exact and instant but only cover what was computed ahead of time, and the small engine is weaker but works anywhere.
Free with any 3 openings you pick. Pro opens all of them with one payment (40% off until November 30).
https://play.google.com/store/apps/details?id=com.zanoshky.chesspass
I am the developer. The code is partly AI generated and I had help with this text. Happy to go into detail on any part, and curious how others here would handle eval coverage for off book moves.
r/ComputerChess • u/Travelbooker24 • 2d ago
Has anyone benchmarked Leela Chess Zero on Intel integrated graphics?
Does anyone have an estimate of Leela Chess Zero's playing strength on an Intel UHD 770 with 16GB of DDR5 RAM in single channel mode?
Thank you!
r/ComputerChess • u/Rooksense • 2d ago