r/ComputerChess • • 16h ago

WhiteBox: the world's strongest classical chess engine, +40 Elo stronger than Stockfish 16, built by looking inside Stockfish 19's NNUE

15 Upvotes

Thread: https://x.com/jackyuan35/status/2128994871952462199

We decomposed Stockfish 19's network weights to find structures the classical eval lacks (king-wing asymmetry, non-linear game phase, pawn pairs), wrote them back into Stockfish 16's classical evaluation as ~6,900 table values, and fitted them to SF19's evals. No net at play time.

Results vs untouched SF16 classical (NNUE off): +39.8 [+33.4, +46.2] over 4,000 games at 10+0.1, +31.4 at 60+0.6, independent replication +35.0. Plain refitting of the existing tables gives ~0, so the gain comes from the new structures.

Code + all games: github.com/JackYBT/whitebox

Write-up: bitianyuan.com/writing/whitebox

Play it: lichess.org/@/WhiteBoxChess


r/ComputerChess • • 3h ago

Looking for Windows beta testers for an AI-powered chess analysis tool with risk-based move recommendations and local LLM integration or Codex

0 Upvotes

Hey y'all, so I've developed an experimental Windows desktop chess application. I'm looking for 3 experienced chess players to test the free windows demo and provide honest feedback. Comment or DM if you're interested.

It features:

- Stockfish and fairy stockfish integration

- custom risk and aggression scoring algorithms

- risky, aggressive, and conventional move recommendations that explain why the move was chosen

- local ai model integration with your chosen model

- codex integration

- conversational ai trained on python chess library for context awareness

- secure opening book packages with encryption


r/ComputerChess • • 13h ago

A Ukrainian Chess game (6 languages supported)

0 Upvotes

r/ComputerChess • • 16h ago

[OC] Every named chess opening (3,865 lines) as one graph: 8,207 positions coloured by opening family

Post image
0 Upvotes

Source: Lichess's chess-openings dataset (CC0), https://github.com/lichess-org/chess-openings. The famous games come from their Wikipedia articles, and every move was replayed to check it's legal.

Tools: Node.js and chess.js to build the position graph, Neo4j to store it, and an HTML canvas to draw it.

How to read it:

  • The centre is the starting position. Each ring outward is one more half-move, and the rings get closer together further out because the radius grows with the square root of depth.
  • Each dot is a distinct position and each line is a move. A position reached by several move orders is drawn once, and the extra routes are the thin cross-links.
  • Colours are the 149 opening families. Each branch gets an angle in proportion to the number of lines that end beneath it.
  • The long thin tails are famous games (gold) and classic traps (teal), followed past the named openings to their critical moment.

The interactive version lets you rotate it, filter by side or first move, and click any position to see the board: https://theoria.up.railway.app


r/ComputerChess • • 16h ago

I put every named chess opening on one map: 3,865 lines, 8,207 positions, and every place where move orders transpose

Post image
0 Upvotes

While watching the World Championship match I kept noticing how a game drifts from one opening into another, and how the same position can come from completely different move orders. I wanted to see all of it at once, so I built a map of it:

https://theoria.up.railway.app

Every named opening from Lichess's open opening list is on it. Each dot is a position, each line is a move, and the colours are opening families.

What you can do

  • Hover or click a family (Sicilian, Ruy Lopez, King's Indian…) to light it up
  • Click any position to see the board, its name, the routes that lead into it and the named lines that continue from it
  • Switch to the White or Black perspective, or filter by 1.e4, 1.d4, 1.Nf3 or 1.c4
  • Search by name, ECO code or moves, for example e4 c5 Nf3 d6
  • Press "Play from here" to play any position against a small practice bot (it's not Stockfish, just enough to try the ideas)
  • 9 famous games and 7 classic traps are marked. Each one stops at the critical moment, so you can look for the move yourself before revealing what was played: the Opera Game, the Immortal Game, the Game of the Century, Fischer–Spassky game 6, Deep Blue–Kasparov game 6, Kasparov's Immortal, and the Légal, Elephant, Lasker, Noah's Ark and Fishing Pole traps, among others.

Things I didn't expect

  • 3,865 named lines collapse into 8,207 distinct positions, and almost half of those positions (3,941) can be reached by more than one move order.
  • Using only moves from named openings, there are 30 different ways to reach the Semi-Slav, and 100 ways to reach the main line of the Queen's Gambit Declined Orthodox Defense.
  • The Caro-Kann main line is the same position whether White plays 3.Nc3 or 3.Nd2, because the knight ends up on e4 either way.

It's free and there's no sign-up. It works best on a laptop but runs on a phone too. If a name looks wrong, or there's a famous game or trap you'd like added, let me know.


r/ComputerChess • • 4h ago

I built a local Stockfish overlay for Chess.com. The tricky part was keeping up with the board.

0 Upvotes

I've been tinkering with MateIt, a hobby Chrome extension that runs Stockfish locally and shows an eval and suggested move beside a Chess.com board. The obvious demo is stepping through a finished game to figure out where things went off the rails.

The part I wanted to share here is what happens when you mash the back arrow. The latest position gets a fresh search and the old search is canceled, so a late result doesn't land under the wrong board. The engine runs outside the page in an extension-owned context. Turns out getting Stockfish to think was easier than getting it to shut up on cue.

The extension can see an active board too. Please use it for review after the game. Chess.com prohibits engine assistance during games against other players.

For people who've built engine frontends: how do you schedule searches when someone scrubs through a move list? Debounce the changes, or cancel and restart on every position?

Source and install instructions · Screenshot. If you end up finding the code useful, a GitHub star is welcome.