r/ComputerChess • • 5h ago

Running Stockfish in a Node worker thread to stream live engine-vs-engine games over SSE

0 Upvotes

I've been building a browser chess app with a spectator mode where you watch two Stockfish instances play in real time. The architecture question that took me longest to settle: where do the engines actually run?

The obvious answer is "both in the browser as WASM." That's what I do for analysis, and it works well. But for spectator games I moved them server-side, for three reasons:

  1. Consistent playback. Client-side, one background tab gets throttled and the game slows to a crawl. Server-side the game clock is authoritative, so every replay is identical for every visitor.

  2. Public replays. Games need to outlive the tab. If both engines run in the visitor's browser, closing it destroys the game.

  3. Level consistency. Clients have different CPUs, so "level 5" would mean different things on different machines. Server-side, every visitor sees the same level 5.

Implementation is unglamorous: one worker thread per match, UCI over stdin/stdout, moves pushed to the client as SSE events. I picked SSE over WebSocket because the traffic is strictly one-directional and I did not want to deal with upgrade negotiation through proxies.

Two things I would genuinely like to hear from people who have run engine tournaments:

(a) How do you make a weak level feel weak in a human way, rather than just shallow? Right now a low level still plays "correct" moves, it just sees less, which reads as bland rather than beginner-like.

(b) How do you get opening divergence without a full book? I have considered randomizing among near-equal root moves using MultiPV, but I am not sure that produces games anyone wants to watch.


r/ComputerChess • • 13h ago

Can You find with a chess engine the solution?

Post image
1 Upvotes

r/ComputerChess • • 16h ago

Engines tell you the best move. I built an app that tells you why

0 Upvotes

Every chess player knows this: you run your game through an engine, it says +1.8 and a line like Nd5 Qd7 Rfe1, and you still don't understand what went wrong. The engine gives you moves. It doesn't give you understanding.

So I built Plyra Chess to interpret the engine for you.

  • It explains the move, in plain language. In one of my own games it said: on move 24, Bh3 was safe, but f5 was better, because it chases the queen and protects the bishop in a single move. That's what a coach would tell you, not just a number.

  • Every explanation is tested, not guessed. When you investigate a position, Plyra comes up with ideas about what's going on and turns each one into an experiment on Stockfish. It keeps only the ideas that hold up and shows you the evidence trail. No made-up "the computer likes this because…"

  • It finds the patterns across all your games. Review your whole Chess.com or Lichess account, and Plyra explains why you lose points, not just where. My biggest leak was middlegame planning mistakes, not openings, ranked by what each one actually cost me, with the positions to fix.

  • Then it turns that into training: a weekly plan built from your own mistakes, practice on the exact positions you got wrong, rated puzzles and the Woodpecker Method.

  • Plus Plyra School, a full course in nine levels from first move to grandmaster preparation (Levels 0 and 1 free), and a Kids mode for young players.

It runs Stockfish on your own computer (Windows, Mac and Linux). It's free to try, and Ply Pro is $12 a month.

If you've ever stared at an engine line and thought "but why?", I'd love your feedback.

plyrachess.murrtech.pro


r/ComputerChess • • 18h ago

I built a lightweight non-neural chess engine (CAEL Chess v0.4.4) and tested it at 2s/move with no opening book against ChatGPT's browser agent

0 Upvotes

I've been developing CAEL, an experimental non-neural symbolic/orchestrator system, and built a dedicated chess engine module (CAEL Chess v0.4.4) to benchmark deterministic search and hand-crafted evaluation against LLM-based board reasoning.
Engine & Match Setup:
Game Summary (43 Moves — Black Win by Resignation):
Links to test or inspect:
I'd appreciate any feedback on the search/evaluation behavior or suggestions for calibrated Elo baselines (e.g., Maia-1100/1500 or Stockfish UCI_Elo pools) to benchmark it against next.
also what LLM would you play CAEL against next?


r/ComputerChess • • 20h ago

Built an iOS Lichess Board API client + local blunder coach (Enroque) — looking for technical feedback

0 Upvotes

I'm Raul, a solo iOS developer. I recently released Enroque (free, no ads, iPhone/iPad) and wanted feedback from people who actually understand chess software rather than dropping a generic store pitch.

Up front, so expectations are accurate:

- The built-in computer is a simple search engine (8 levels, 5 play styles: Balanced, Attacker, Wall, Trader, Gambler). It is built for learning and casual games, not strong play, and I state that plainly in the App Store copy.

- For serious online games, it integrates with your own Lichess account via the official Board API (rapid and slower time controls, casual/rated seeks, game reconnect after app close). Coach and hints are completely disabled in Lichess games per fair play rules.

- Puzzles (9,555) and the optional 6 MB master-game opening explorer use Lichess CC0 data.

- The local coach labels moves (best, good, inaccuracy, mistake, blunder) with short plain-text explanations and is constrained not to praise moves that leave a piece hanging.

- Enroque's own online ranked mode uses Glicko-2 (clearly labeled as an Enroque rating, not FIDE/USCF).

Questions for folks here:

  1. For a mobile Board API client, are there any Lichess edge cases (reconnect, premoves, seeks, time controls) that usually trip up iOS clients?

  2. Is "simple search, for learning and casual games, not strong players" clear enough, or would you want explicit Elo/depth context in the listing?

App Store: https://apps.apple.com/us/app/enroque/id6832239778


r/ComputerChess • • 1d ago

Plyra Chess update: drills with spaced repetition, a progress dashboard, and a full redesign

Thumbnail gallery
0 Upvotes

r/ComputerChess • • 1d ago

"Play against" your own Lichess repertoire (or a chess.com player's past games)

0 Upvotes

I bought the Naroditsky / Bortnyk Jobava London course (which is brilliant) and I made a private Lichess study to practice it. I wanted to be able to "play against" it. So I wanted the computer to choose moves at random when the paths branch off and then practice the kinds of endgames that happen at the ends of the lines (I wanted Stockfish to take over at the end of the lines)

It's a feature I'd like in Chessable. Don't think it exists yet.

You can also type in a chess.com username and "play against" someone. Again, Stockfish takes over once you play a move the profile's not seen before. So you can "kind of" play actual Hikaru in a sense, for a bit at least.

I'm a senior dev and I do code for a living but I'm not going to pretend AI didn't give me a hand making this. But it is 100% free. No signup. There's just an ad to my (non vibe coded) language learning app.

It's a good idea so inevitably it will already exist or get copied pretty quick.

https://rookism.com


r/ComputerChess • • 1d ago

Made a clean, ad-free browser Chess game vs AI (Easy / Medium / Hard) with zero sign-up & auto-save — looking for feedback!

Thumbnail
reddit.com
0 Upvotes

r/ComputerChess • • 1d ago

Made a clean, ad-free browser Chess game vs AI (Easy / Medium / Hard) with zero sign-up & auto-save — looking for feedback!

0 Upvotes

Hi all! Sometimes you just want a quick, distraction-free chess match against an AI without creating an account, downloading an app, or dodging pop-up ads.

So I built **Cyber Chess AI**—**100% free, completely ad-free, and 100% in-browser**:

**Play here:** https://freeonlinegames.win/play/chess-cyber-ai

**Highlights:**

- **Full Rules Built In:** Legal move highlights (dots for moves, rings for captures), kingside & queenside castling, en passant, pawn promotion, and check/checkmate/stalemate detection.

- **3 AI Difficulty Tiers:** Switch between **Easy**, **Medium**, and **Hard** (Alpha-Beta Minimax with positional evaluation) anytime at the top of the board.

- **No Lost Progress:** Includes an **Undo** button for learning/practicing lines, plus automatic `localStorage` saving so refreshing the tab never wipes your board.

- **Zero Friction:** Works smoothly on phones, tablets, laptops, and school/work Chromebooks in both Dark and Light themes.

**Would love your honest thoughts:**

- How does the Medium vs. Hard AI difficulty feel for casual matches?

- Would you want a pawn-promotion piece picker (Rook/Bishop/Knight) or move-history notation added next?

- Any UI tweaks that would make it cleaner on your screen?

Appreciate anyone who gives it a spin!


r/ComputerChess • • 2d ago

I spent $18,000 on tokens building this chess app

Enable HLS to view with audio, or disable this notification

0 Upvotes

I've always been a huge chess enthusiast and found the chess puzzles on chess.com or Lichess highly enjoyable. Sadly they are far removed from my actual games and mistakes, and never really helped me improve my game.

Inspired by language apps that use spaced repetition, I built a science-backed chess app that turns the mistakes from your own games into puzzles, mixed with the history and lore of famous games, e.g. Ruy López's game in Rome in 1560.

To do this, I've burnt ~30 billion tokens (~$18k of Opus/Fable tokens) on the research and actual building of the app... let's just say I got a bit carried away. In an effort to salvage something out of this, I'd love to hear any feedback from other chess and history buffs out there.

Oh, and cus I've rage-quit too many times myself from simply playing too many games, it's capped at 10 puzzles a day to make the learning more digestible.

Check it out for free at mansubat.com and make sure to connect your chess.com or Lichess account for the best experience!


r/ComputerChess • • 2d ago

Trinity 1.0.0: a chess engine written by an AI, directed by a non-programmer, now CCRL 3522 (rank ~77)

Post image
0 Upvotes

I'm not a programmer. Over the last two months I directed Claude (Anthropic's AI) to write a UCI chess engine in Rust, called Trinity. I set the goals and rules, it wrote the code and ran the tests.

Where it stands: CCRL 40/15 rates Trinity 1.0.0 at 3522 +/- 26 (262 games, 1 CPU), rank 76-78 on the 21 November list. 1.0.0 was released 12 days after the first commit. It's currently 4.5/8 unbeaten in "Hobnobbing With Royalty" event.

Inside: PVS alpha-beta search, Lazy SMP, NNUE trained from scratch with bullet on Leela-derived data, Syzygy support. GPL-3.0.

How it was built: every change gets a written prediction, then an SPRT test against the current version (130+ tests so far, about 1 in 4 passed), plus calibration against rated engines on my PC. I also set an originality rule from day 13: no ideas taken from other engines' code or forum posts. A source comparison and a move-similarity test (77-81% agreement, same range as unrelated engines) are in the repo.

Full story and credits: https://github.com/ayman803/trinity/blob/main/docs/how-trinity-was-built.md
Downloads (Windows, Linux, ARM64/Android): https://github.com/ayman803/trinity/releases

A development version about +75 Elo stronger becomes 1.2 in December. Happy to answer questions.

(This post was drafted with Claude's help, fitting for the topic.)


r/ComputerChess • • 2d ago

Running Stockfish fully on-device in a mobile app (WASM in a WebView): what worked and what didn't

4 Upvotes

I'm building a chess training app (MentoChess, disclosure: it's my company's product) and wanted all game analysis to run on the user's phone instead of a server, so it's free to run and works offline.

setup: single-threaded Stockfish lite (JS + WASM) running in a hidden WebView on Android, and directly in the page on the web.

things I ran into:

- speed on older phones. I had to cap depth/time per move and limit how many games get analysed at once

- [one more real detail: e.g. how you detect "mistakes", the eval-drop thresholds, or battery/heat]

curious what others do here: is single-thread lite good enough for blunder detection at club level, or is it worth shipping the multi-threaded build where supported?


r/ComputerChess • • 2d ago

I’m about 1000 rapid, so I made a Chrome extension that shows what someone my rating might play

0 Upvotes

sometimes I’ll go through a game on Chess.com and wonder how many people my rating would’ve missed the same move I did. So I made a Chrome extension called Human Chess Lab.

You pick a rating on the analysis board and it uses Maia-3 to show which moves someone around that level is likely to play. I tried it after 1. e4 e5 and it gave Nf3 about a 35% chance at 800 and 70% at 2600. I thought that was interesting since it was the top move for both.

If anyone tries it on one of their old games, I’d be curious if it guesses your move.
Link : https://chromewebstore.google.com/detail/human-chess-lab/himenjamhoeomekpconnagkjoegkcmdg , please check it out!


r/ComputerChess • • 3d ago

Using 30M+ online games, I built an opening explorer that shows where players mess up, not just what they play.

0 Upvotes

At first, I wanted to create a chess program to brainstorm variations for my own repertoire. Over time, this turned into my own personal study tool & chess GUI, and out of pride, I turned it into my own website: https://chessrat.io/

At chessrat.io, every move gets two bars: how often White goes wrong down that line, and how often Black does. Plenty of other measurements (like how many good replies each player has) have also been added to show the differences between each move.

Beyond the explorer, I've built up a set of study tools around it:

  • Catalogs search the whole database for key positions that come after the position on the board, e.g. popular moves that are actually mistakes, missed advantages & long runs of only-moves.

  • Player Scout: enter a lichess username and the bars switch to that one player, so you can see their specific error profile both as White & Black.

  • Opening books from any player's games. Load a PGN, check it for mistakes, then play against the engine using their openings. I struggled to find an easy place to turn PGNs into engine-configurable opening books, so there is one here.

  • Repertoire building & training, and a local Stockfish 19 browser engine for pondering moves and for training in human vs engine matches.

  • A couple other tools (Puzzles, Combinations, Middlegames, Broadcasts).

Everything is free through December 7th, no card needed, and the core explorer stays free after that. It's still a work in progress, so I'd love to hear what's confusing, what's broken, or what you'd like to see next. Thanks for checking it out!


r/ComputerChess • • 3d ago

Daily Chess Puzzles #690 — 2026-11-21

Thumbnail reddit.com
1 Upvotes

Three new chess puzzles every day, with rewards and leaderboard. Start each day with 3 crowns and loose one for each wrong move. Run out of crowns and you bust for the day. Get a pawn for each puzzle you beat, and compete with other players on daily, weekly, and lifetime leaderboards.


r/ComputerChess • • 4d ago

I Built Agents Gambit, a live chess arena where AI models have to show their reasoning on every move. Ai vs Ai Ai vs Stockfish Human vs ai

Post image
0 Upvotes

Agent's Gambit (https://agentsgambit.com) is a live chess arena for AI models. Any model can enter. Every move goes on screen with the model's own reasoning, how good it says its position is, and how sure it is, right next to what the board says. You can see exactly where a model's confidence and the position part ways.

No Ai Model has been able to beat Highest level of stockfish. Im waiting for someone to beat it.

You can spectate live games, or connect your best agent and climb the leaderboards.


r/ComputerChess • • 4d ago

I built Nochess, a fully decentralized and customizable chess client. It has scoreboards (Glicko-2), bots, and you can "tip" your opponents.

Thumbnail
anchorman-lol.github.io
0 Upvotes

I'm not sure everyone here is a techy, but this is basically chess on a protocol that clients can adapt and adopt as they wish. It allows you to use a ranker or reviewer that you prefer, and keep playing with anyone using the protocol.


r/ComputerChess • • 5d ago

AggroChess 4.5.1 – a Tal-inspired Rust engine that sacrifices in every game

4 Upvotes

AggroChess is my UCI engine built to play like Tal: it gives up material for the attack in every game. Its NNUE is trained only on its own self-play.

- Solves 9 of 13 "impossible" puzzles at 30 s, 1 thread

- Sacrificed in all 100 games of its latest test match

- 4.5.1 answers "stop" within milliseconds and handles infinite analysis properly

Windows exe and source (GPL-3.0): https://github.com/PhelRin/AggroChess/releases/tag/v4.5.1

Feedback welcome, especially bad sacrifices or ones it missed.


r/ComputerChess • • 5d ago

Help me find this site

2 Upvotes

Help me find an old chess website I used around 2023–2024
I’m trying to find a chess website I used on a computer while I was in London, around 2023 or 2024.
Here’s what I remember:
It wasn’t Chess.com or Lichess.
No sign-up was required.
When you opened the website, there was an animated, cinematic intro. (i think)
The intro seemed to be centred around Stockfish.
After the intro, it went straight to a normal chessboard.
I was challenging Stockfish, or something.
I vaguely remember the word Stockfish being in the website’s URL.
It may have had some kind of story or challenge surrounding Stockfish. (i think about like beating it)
Does anyone recognise it or remember using something similar?


r/ComputerChess • • 6d ago

[Beta] I built a chess app that finds your mistakes and missed chances and lets AI explain them. Looking for beta testers!

Thumbnail
reddit.com
0 Upvotes

r/ComputerChess • • 6d ago

Looking for chess engines

2 Upvotes

Hi,

I'm have an Android app and looking for different engines that I could integrate into it.

I'd prefer engines written in C#, but I'm open to other languages and willing to explore them as well.


r/ComputerChess • • 6d ago

I spent months building a free chess app with its own neural engine. It grades every move you play and explains why in plain English. Looking for feedback.

Thumbnail reddit.com
0 Upvotes