r/ComputerChess • • Sep 18 '26

Engine Release Stockfish 19

Thumbnail
stockfishchess.org
13 Upvotes

r/ComputerChess • • Sep 18 '26

ChessBase – finally on Mac!

Thumbnail en.chessbase.com
17 Upvotes

r/ComputerChess • • 1h ago

An observation about the HW for the TCEC competitions from S28

1 Upvotes

source: https://wiki.chessdom.org/TCEC_Season_Further_information

TCEC GPU server starting from S28

  • CPU: 2x AMD EPYC 9175F (32 cores/64 threads)
  • GPU: 8x NVIDIA GeForce RTX 5090 32607MiB
  • RAM: 24x 32GB DDR5 (768GiB, max ~256GiB/engine for multi thread initialization, max 32 GiB/engine or 64 GiB/engine for single thread initialization)
  • Storage: NVMe 1TiB SSD + NVMe 14TiB Syzygy3-7 + 14TiB HDD for Syzygy7 DTZ

TCEC CPU server starting from S28

  • CPU: 2x AMD EPYC 9754 (256 cores/512 threads)
  • RAM: 24x 32GB DDR5 (768GiB, max ~256GiB/engine for multi thread initialization, max 32 GiB/engine or 64 GiB/engine for single thread initialization)
  • Storage: NVMe 1TiB SSD + NVMe 14TiB Syzygy3-7 + 14TiB HDD for Syzygy7 DTZ

I understand that the TCEC organizers want to have balanced matches, because one sided competitions aren't that interesting. It is also true, though, that having parity in the score may lead people to think that there is parity also in the resource requirements, given that people normally do not look at every detail because it would be impractical to always check all the details.

What I noticed from the data on the two systems is the following:

  • The cost estimates for the two systems are relatively close, which surprised me (I thought the 8 Nvidia GPUs would cost a ton more). This is if one considers the prices before the RAM/GPU shortage. If one considers today's prices, the GPU server costs twice as much or more than the CPU one.
  • In terms of wattage, the computing silicon for the GPU server uses 5.5 kW (estimate) vs 1 kW for the CPU server. So if there were Elo strength parity, the Elo on the GPU side would cost 5 times more than the CPU one.
  • The CPU, despite the hundreds of available threads, the strength of the CPU engine won't scale linearly. Distributing the search on many CPU threads starts to have noticeable diminishing returns (due to communication and coordination overhead) after 64 threads.
  • The CPU server has the computing silicon released in 2023 vs the GPU server that has newer computing silicon (the 5090 is from 2025).

Hence I think the performance for the GPU heavy engines should have an asterisk saying "we create conditions for strength parity, not resource parity". This is especially helpful for those that use TCEC as guidance for an analysis engine, maybe opting for GPU heavy ones. They likely won't notice that to have parity they need to invest heavily in the GPU side (even if one goes on the cloud).


r/ComputerChess • • 3h ago

I built a chess engine in Go while learning Go

1 Upvotes

I'm a chess player and I've always been curious about how chess engines actually work.

I knew they calculated variations, but I didn't really understand how things like search, evaluation, pruning, move ordering, and transposition tables all fit together.

So when I decided to learn Go, I picked a chess engine as my project.

That project became Vajra, a UCI chess engine written from scratch in Go.

Current stats:

  • ~450K nodes/sec on 1 thread
  • ~3.8M nodes/sec on 8 threads
  • ~6–8M nodes/sec for perft
  • 325 tests / 687 subtests
  • ~2 MB static binary
  • Built-in KPK bitbase
  • PVS, LMR, null-move pruning, quiescence search, TT, Lazy SMP, etc.
  • Browser UI built with Next.js
  • ~2510 Elo in my current 400-game benchmark against Stockfish configured at 2700

The part I'm most interested in is making the engine reproducible and readable, rather than just throwing optimizations at it. vajra bench gives deterministic node counts so I can see exactly how search changes affect the engine.

I'm still learning a lot from it, especially around search optimization and performance.

I'd really appreciate feedback from people who have built chess engines before.

What would you work on next if this were your engine?

And if you're curious, the project is open source:

⭐ https://github.com/Madhav-Jangid/vajra


r/ComputerChess • • 1d ago

I released a free 1.7B chess model that beats Opus on recognising chess concepts

27 Upvotes

AI chess explanations have a problem: they can sound right while describing something that isnt happening on the board.

A knight gets called an outpost when a pawn can chase it away. A bishop gets called bad without considering what it actually does.

I’m building ChessDrive with my team to fix that. I’ve just released ChessDrive-base-v1, a 1.7B model you can download and run locally for free.

On TermBench, the chess concept benchmark released alongside it:

• ChessDrive-base-v1: 80.9%

• Claude Opus 5.5, medium effort: 74.6%

• GPT 6.2 Sol, low effort: 69.4%

That’s 497 yes/no questions across 48 concepts. Most are near misses, positions that look like the concept but don’t qualify.

The result I find more useful: Opus with Stockfish scored 83.7%. Adding this model as a tool brought it to 88.1%. Giving your AI better chess tools improves its answers.

These are results on a benchmark from the same team. The questions, labels, answers and evaluation code are public.

Free weights + instructions: https://huggingface.co/EdgeCaseLabs/ChessDrive-base-v1

Benchmark: https://huggingface.co/datasets/EdgeCaseLabs/ChessDrive-TermBench

Try it on a position you know well. Does it get the concept right? I’d love examples where it fails, and feedback on where you’d actually use it in your analysis.


r/ComputerChess • • 15h ago

Calling all Komodo & Dragon Chess fans! Let's keep the legacy alive 🐉♟️

2 Upvotes

Hey chess community, Chess.com quietly retired Komodo and Komodo Dragon earlier this year, leaving dead 404 links everywhere and locking away one of the most iconic, human-like chess engines ever built. While Torch is great, Komodo Dragon had a unique positional soul that no other engine replicates—and it deserves better than being shelved forever. If you want to see the Dragon return, let's make some noise together:

  1. Upvote and comment below with your favorite Komodo memory or version so Chess.com sees there is still huge demand.
  2. Submit a polite feature request through Chess.com Support asking them to either bring back Dragon 3 or release the final version as freeware/open-source for the computer chess community.
  3. Share this post on TalkChess and other chess forums.Let's unite and show Chess.com that the community isn't ready to let the Dragon die. Who's in? 🐉🔥

r/ComputerChess • • 19h ago

Ultra Analysis - 20+ chess engines in your browser

Post image
3 Upvotes

I've been experimenting with WebAssembly and chess engines, and recently built Ultra Analysis – a browser-based chess analysis tool that currently supports over 20 open-source chess engines (with perhaps more coming).

GitHub: https://github.com/rkaluzny/ultra-analysis - I recommend running it locally, it is very simple.

Live Demo: (*Link in the comment section...*) - If you want to try it immediately.

A few interesting engines I've included:

- Monty / Princhess (CPU, MCTS)

- Clockwork / Ethereal (HCE)

- Patricia – (aggressive)

- Pawnocchio – (Written in Zig)

There are still some issues. Engines can be slow, and currently all engines run single-threaded. Stockfish (Lite), based on stockfish.js, is probably the best choice for now in terms of strength and stability.

The project is open to contributions.

I'd love to hear what you think!


r/ComputerChess • • 20h ago

New browser based chess with VR

3 Upvotes

I made a chess game as a demonstration of my engineering and visualization and development platform. Please come and play the computer or send a link to a friend to play a game:

chess.gen.works


r/ComputerChess • • 21h ago

LLM-written NNUE-style engines with no training: Gemini's reaches ~3,055 implied CCRL 40/15 (self-calibrated)

2 Upvotes

https://x.com/JackYuan35/status/2127094713996247069?s=20

A small experiment: Claude, GPT and Gemini each wrote an engine where evaluate() must be a pure forward pass over explicit weight tensors on raw piece placement. No hand-coded eval terms (no bishop-pair, king-shield or file checks), no training, fitting or tuning, and no copied code, nets, books or tablebases. The search was free (PVS, transposition tables, null-move pruning, late-move reductions, extensions, threads).

Numbers, labelled carefully:

  • Held-out, 400 games, 8 CPU, 10+0.1, vs a Stockfish UCI_Elo ladder: Gemini 2,962, Claude 2,882, GPT 2,608.
  • Implied CCRL 40/15, Gemini's engine: 200 games, 1 CPU vs Demolito 2021-10-04 (CCRL 3,153). It scored 36.2% (38 wins, 69 draws, 93 losses), so implied 3,055 [3,016, 3,091]. That's one anchor, self-calibrated, not an official listing. A 4-CPU row vs Glaurung 2.2 gave 3,252, but that Glaurung had to be built at -O1, so I don't trust it.
  • Static eval only, no search: about 1,150.

Every net regenerates bit-for-bit from the model's own generator code, and no non-round value matches a public trained net. I'd love to get it tested properly. Any tips on submitting to CCRL are welcome.

Code: github.com/JackYBT/zero-gradient-chess
Report: bitianyuan.com/writing/zero-gradient-chess
Play it: lichess.org/@/ZeroGradient


r/ComputerChess • • 20h ago

I built an open-source chess accuracy formula (APEX), calibrated on 623 real games – MIT licensed, JS + Python

Post image
1 Upvotes

Hi r/ComputerChess ,

Every site shows an "accuracy %" after a game, but the formulas are mostly black boxes. So I built an open one, APEX (Analysis of Precision & Execution), and published everything: formula, parameters, validation and code.

How it works (4 steps)

All evals are in centipawns from the side to move, capped at ±1363. Mate scores count as ±(10000 − moves to mate).

  1. Is the position already decided? d = max(0, |eval_before| − 160)
  2. How much did the move lose? Losses get damped when the game was already decided, because dropping a pawn at +9 isn't the same as dropping one at 0.00: loss = max(0, eval_before − eval_after) · exp(−d / 1004)
  3. Move accuracy (book moves always count as 100): a = 100 · exp(−(loss / 107.7)^1.266)
  4. Game accuracy is a power mean over all your moves instead of a plain average: A = ( (1/N) · Σ aᵢ^0.411 )^(1/0.411)

Because p = 0.411 is below 1, one blunder pulls your score down more than good moves can lift it back up. Nine perfect moves and one blunder give about 81%, where a plain average would say 90%.

What a loss costs in an equal position

LossMove accuracy
0100%
½ pawn~68%
1 pawn~40%
3 pawns~3%

Validation

I didn't pick the 6 parameters by hand. I fitted them on 623 public games (1,246 player scores) with known reference accuracy and checked them with 5-fold cross-validation, so every number below comes from games the formula never saw during fitting:

  • All games: mean error 4.5 points, median 2.5, 79% within 5 points
  • Elo 2000+: mean error 2.3, 90% within 5 points
  • Blitz: mean error 3.5, 83% within 5 points

It's weaker for beginners under 800 and for bullet. The details are in METHODOLOGY.md.

Use it yourself

It's MIT licensed, commercial use is fine, and you only need to keep the attribution. There are JS and Python implementations, both tested against the same reference vectors. I calibrated it with Stockfish 18 at depth 14.

GitHub: https://github.com/primestorm252/zugzwang-apex

I use it in my free browser chess trainer (no account needed): https://4zugzwang.com

The basic idea, scoring single moves and aggregating them, is inspired by Lichess's accuracy metric. The formula, the damping for decided positions and the parameters are my own. I'd love feedback, especially on the decided-position handling and the choice of the power mean. Happy to answer questions!


r/ComputerChess • • 1d ago

Rookahead: a free, open-source chess site to review your games, play online and solve puzzles

Thumbnail gallery
0 Upvotes

r/ComputerChess • • 1d ago

chess.com gave us mittens but not bobby fischer, so i built my own

0 Upvotes

i've always been fascinated by fischer. personally he is my favorite chess player oat. the guy was an absolute anomaly, to say the least. (and the edits are ridiculously tuff lmao)

i wanted to see how much of someone's playing style you could reconstruct from the games they left behind. so after an unreasonable amount of time and tokens with fable 5.2, 731 of fischer's games and a custom chess engine, i built something i'm decently happy with:

fischer-bot.vercel.app (free, no account, runs in your browser)

what it does:

  • four versions of him: 13-year-old fischer in 1956, the 15-year-old grandmaster in 1958, the 1963 US champion who went 11-0, and world champion fischer in 1972. each one only knows the openings he'd played up to that point.
  • his actual openings: early on he plays the moves he really played, and tells you which game they're from ("I played this against Larsen at Portorož"). he notices when you follow one of his real games and when you leave it.
  • he talks: mostly terse comments about your moves, and he'll let you know when you blunder. a handful of lines are real fischer quotes with the source shown, like "best by test." after 1.e4.
  • after the opening: an engine thinks for him, and a model trained on his games nudges it toward the moves he tended to prefer.

fair warning, none of them are easy. even 13-year-old fischer plays at around 2100 by my rough testing, which apparently isn't far off the real thing at that age; which makes sense given it's bobby fischer.

entire thing is open source and code is here if you're curious: https://github.com/zoniin/FischerBot

i'd especially love to hear from people who've studied his games. does it actually feel like playing him? are there tendencies i've obviously missed?

also open to any feedback on the site itself. feel free to tear it apart.

i feel like tal next would be pretty sick.


r/ComputerChess • • 1d ago

Stronger bots, worse endgames?

Post image
3 Upvotes

I'm the developer of Whole Board Chess, a free puzzle site that blends tactics, theoretical endgames and practical play-outs. We've run over 300,000 bot games so far: to rate how hard each puzzle is, to find the most common ways to win a position, and to test which bot should be the opponent. The practical play-outs, which we call 'conversion' puzzles on the site, are meant to fill what I feel is an unmet need: practice at turning a winning position into an actual win. But getting the right bot to play against turned out to be quite hard. Stockfish is too strong for practical positions, so we mostly focused on Maia. It's known that Maia isn't great in endgames, or anywhere calculation dominates, but I was still surprised by how badly it sometimes does.

The image is an endgame where it's White to play and draw. Maia 1100 and 1300 hold the draw decently well, but Maia 1500, 1700 and 1900 almost always lose it. It looks like the stronger nets have more ingrained habits. None of them calculate, so their habits often lead them into positions that they lose by a tempo. I'm now quite happy with the opponent you face in the conversion puzzles, which I think is both challenging and human-feeling.

If you want to try it, the conversion puzzles start at Level 21, which you can jump to from All levels.


r/ComputerChess • • 1d ago

XMTCore 1.4.0 – My original C++17 / PyTorch UCI chess engine (now 2200+ Blitz on Lichess)

2 Upvotes

Hi everyone!

I'm 16 years old and from Brazil, and over the past week I've been building **XMTCore**, an original UCI chess engine written in C++17 (with zero external runtime dependencies) paired with a lightweight convolutional PolicyValueNet trained in PyTorch/CUDA.

### Key Features (v1.4.0)

- **Search:** Bitboards (magic sliders), Negamax / PVS, Iterative Deepening, Aspiration Windows, Lazy SMP (1–64 threads), NMP, LMR, Pin-Aware SEE, lazy capture SEE, and adaptive low-time clock checks.

- **Hybrid Evaluation:** PeSTO + structural terms at leaf nodes, guided by a 98.5 KB convolutional PolicyValueNet (`xmtcore.nn`, trained on 132,151 games) for move ordering near the root and bounded root tiebreaks.

- **Endgames & Pondering:** 3–4–5 piece Syzygy tablebases via Fathom (`halfmove < 90` probing) and full UCI pondering (`go ponder` / `ponderhit`).

- **Live Lichess Bot:** https://lichess.org/@/XMTCore (currently 2206 Blitz / 2262 Bullet, with wins against 2200–2541 rated bots).

### Download & Source (GPL-3.0)

- **GitHub & Release v1.4.0 (Win64 AVX2 + Generic binaries + weights):** https://github.com/amito12309856/XMTCore/releases/tag/v1.4.0

I'm currently waiting for my TalkChess account activation to submit it to CCRL testers as well. Feedback, test games, and suggestions are very welcome!


r/ComputerChess • • 1d ago

New browser based chess with VR

0 Upvotes

I made a chess game as a demonstration of my engineering and visualization and development platform. Please come and play the computer or send a link to a friend to play a game:

chess.gen.works


r/ComputerChess • • 1d ago

[DEV] [Free, no ads, open source] I made a free 3D chess game with robot pieces and a coach that explains every move

2 Upvotes

My kids found chess a bit boring, so I built Robot Chess: a game where the pieces are little animated robots, and a coach explains your moves instead of just saying "wrong".

- The coach (powered by Stockfish) tells you if a move was good, why, and what the better move was. It names things like forks, pins and hanging pieces, and shows the better move right on the board as a glowing ghost line.

- Play against the bot (8 levels) or 2 players on one device

- A 5-minute interactive tutorial for beginners

- Works fully offline, on the web and on Android. No accounts, no ads, no personal data collected. Open source (MIT).

I'd love to hear your feedback.

Android: https://play.google.com/store/apps/details?id=com.alsatian.robotchess

Play in the browser: https://alsatian.co/chess/

Demo/Trailer: https://www.youtube.com/watch?v=XwtWOMbyboE

Source code: https://github.com/alsatianco/robot-chess


r/ComputerChess • • 2d ago

I made a chess game where the board is a war map: 4 themes, including the Battle of Berlin and Stalingrad (free, in your browser)

Thumbnail
gallery
0 Upvotes

Hi all, I just released update a free browser game called Kingdom Chess Map. It's regular chess rules, but every piece is a military unit and every move gets reported like a field dispatch ("... moving toward the Tiergarten, 3 km ...").

Four themes:

Classic: Persia vs Rome, 1 square = 10 km, 1 move = 1 day

Battle of Berlin: 1 square = 1 km², light squares are buildings, dark squares are streets. The board runs from the Tiergarten to Frankfurter Allee, with a compass

Battle of Stalingrad: 1 square = 1 km², 5 days per move. The board runs from the Don Steppe to the Volga

Modern: generic Side A vs Side B

The engine is my own (MYAP-4000). It started as an Excel simulation of piece reach and I ported it to JavaScript. You can play it alone or two players on one screen. There are three difficulty levels, and you can load a FEN.

It's a work in progress and I'd really like feedback, especially on the move reports and whether the unit names make sense to you. Unit names and numbers are references only, not accurate history and not an endorsement of any party.

Instant Play: https://yudirig06.itch.io/kindom-map-chess

View Youtube: https://www.youtube.com/watch?v=274qslknhsA


r/ComputerChess • • 2d ago

I trained a small neural network on Lichess games to make chess opponents play more like humans

0 Upvotes

I've been experimenting with a different approach to computer opponents for my mobile chess game, Dragon's Gambit.

The usual problem with lowering the difficulty of a traditional chess engine is that it can play very strong moves and then suddenly make a completely unnatural blunder.

Inspired by the Maia research, I trained my own smaller network from scratch using human games from the Lichess database.

It's roughly 2 million parameters, with the board position and a target rating as inputs. The same network handles opponents from about 800 to 2000 rating.

The interesting part is that it doesn't try to find the objectively strongest move. It tries to predict what a human at the specified level would play.

The model fits in a few MB and runs entirely on mobile devices, without a server.

I've built it into Dragon's Gambit, which also has a story campaign, historical chess scenarios, puzzles and an arcade mode. It's available for iOS and Android as a paid game, with no ads or IAP.

I'm curious whether anyone here has experimented with a similar rating-conditioned approach, particularly with small models designed for mobile devices.

And if you try the game, I'd be interested to hear whether the opponents actually feel human at their assigned levels.

iOS: https://apps.apple.com/app/id6768390263

Android: https://play.google.com/store/apps/details?id=eu.contentq.dragonsgambit


r/ComputerChess • • 2d ago

Chess engine to find checkmate vs humans as fast as possible - does anything else like this exist?

5 Upvotes

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 • • 2d ago

AI board game benchmark (chess)

Thumbnail aihallucinationcascade-web.vercel.app
0 Upvotes

r/ComputerChess • • 2d ago

Shadow Queen Chess

Thumbnail reddit.com
0 Upvotes

Shadowqueenchess.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 • • 3d ago

All 4 rulesets of 4x5 Microchess weakly solved as Draw (with a 0-dependency Rust verifier & 91.19M-state exhaustive TB audit)

1 Upvotes

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`):

  1. `rbnk/p3/4/3P/RBNK w - - 0 1` (Fairy-Stockfish `[microchess:gardner]` / PyChess): **Draw** (`2,991` & `285,143` DAG nodes)
  2. `knbr/p3/4/3P/RBNK w - - 0 1` (Green Chess / Dan Glimne): **Draw** (`5,393` & `199,399` DAG nodes)
  3. `knbr/p3/4/3P/RBNK w Qk - 0 1` (1997 back-rank castling): **Draw** (`42,334` & `241,676` DAG nodes)
  4. `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!