chessbaseLinux/crates
vrubelroman 2703e5de38 uci: the engine as a Web Worker in a browser, on the same protocol machine; game-review: the process job is native
On WebAssembly the engine is a Web Worker: a line of UCI is one message each
way, the protocol machine is driven by the worker's messages and by timers set
for its deadlines; the handshake does not block (Engine::start_worker gives a
Starting, polled until readyok). EngineHandle has the same methods as the
process one, minus those that block or name a process. Option and search
checks are shared by both transports.

tests/worker.rs runs the worker transport against a fake engine in JavaScript
in headless Firefox (apps/web/check/uci-worker.mjs: wasm-bindgen-test-runner
serves, a WebDriver BiDi client reads the outcome): handshake, analysis and
stop, coalescing of rapid requests without mixing output, an engine hung on
stop, a crash, and every handshake failure. 5 of 5 pass.

game-review: the job in engine processes (run and its workers) moves to
job/engines.rs, built where there are processes. .cargo/config.toml: the
getrandom backend of WebAssembly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:29:12 +03:00
..
chess-core mobile-api: a move's id is its node id, kept across edits 2026-10-26 00:33:55 +03:00
chess-import uci: the protocol as a machine without I/O, the process as its transport; chess-import: passes and positional I/O on a target without threads 2026-10-30 14:19:21 +03:00
game-review uci: the engine as a Web Worker in a browser, on the same protocol machine; game-review: the process job is native 2026-10-30 14:29:12 +03:00
maia maia::strength: the strength tables and the choice of a move shared; Android trainer screen 2026-10-26 01:05:04 +03:00
mobile-api Release 2.1.0 2026-10-28 20:37:06 +03:00
online-games Android: games from Lichess and Chess.com, newest first, with «Download new games» 2026-10-23 16:37:16 +03:00
openings Release 2.1.0 2026-10-28 20:37:06 +03:00
play Android: Rodent IV as a second opponent, with its characters and famous players 2026-10-27 03:03:02 +03:00
prep Game review: shallow search for how hard a move is to find (off by default) 2026-10-29 21:27:16 +03:00
releases Count installations that run: the update check goes through the site 2026-10-24 13:45:15 +03:00
trainer trainer: the opening trainer as a crate shared by the desktop and Android 2026-10-26 01:00:11 +03:00
uci uci: the engine as a Web Worker in a browser, on the same protocol machine; game-review: the process job is native 2026-10-30 14:29:12 +03:00