Last week Patzer got single sign-on. This week it got two more languages, a third local LLM provider, and a coach that stopped telling my kids they won material when they traded a bishop for a knight.

v7.20.0 is out: https://github.com/SikamikanikoBG/patzer/releases/tag/v7.20.0

French and Ukrainian

@SaberGuirat and @OnyxOracle did the two big localizations. Not just the buttons and menus — the whole product speaks the language now: the Learn lessons (including kid mode), the move explanations, the hints, the Game Review. French piece names ("le cavalier prend le pion en e5", "petit roque"), Ukrainian with all four plural forms and declined piece names. The same guard that keeps the coach from praising a blunder runs in every language.

The setup screen's language picker is now a grid, so all seven languages (EN, BG, ES, DE, RU, FR, UK) fit. And the navigation no longer collapses to icons when it overflows — it scrolls sideways and keeps your current page in view.

LM Studio as a coach provider

If you run LM Studio instead of Ollama or vLLM, point Patzer at it in Admin → System (localhost:1234 by default, host.docker.internal from the container). Full OpenAI-compatible completions and JSON structured outputs: move explanations, threat analysis, game reviews, automatic model listing, connection test. @66ton99 wrote it, including the integration test suite.

The coach stopped lying about trades

This one is my favourite. Three facts the coach was handed wrong — and phrased confidently, because that's what LLMs do:

  1. Your own move was being reported as your opponent's reply. The engine line was three plies joined by commas with no idea whose move each one was, so your castling and their knight move arrived under one "the opponent answered".
  2. Every capture was reported as a material win. Bxc6+ bxc6 — a trade — came back as "it wins material". Now a capture only counts what's left after the cheapest recapture, and it's deliberately conservative: a square the opponent still covers at all is never called a win.
  3. A quiet inaccuracy got an empty "why", and a small model filled the gap by picking a piece out of the board inventory and calling it undefended.

The fix is the architecture I keep coming back to: the server works out the facts with chess.js and Stockfish, the model only turns them into words. A wrong fact can't come out of the model's mouth any more confidently than a right one — because the model never gets to decide what's true.

Also in

  • Nix: flake, nix-shell, direnv — nix run for the whole stack (Node 22 + Stockfish), configurable threads/hash (#90)
  • A Stockfish that stops answering no longer holds your CPU (#92)
  • OIDC SSO shipped in the release (the 27.10 post covered it)

One container, your LAN, your model. MIT, seven languages.

docker run -d -p 8800:8800 -v patzer-data:/app/data --name patzer ghcr.io/SikamikanikoBG/patzer:latest