When I play a game against the computer at lichess.org, does it do the chess…
- User
When I play a game against the computer at lichess.org, does it do the chess computations on the browser or a server?
Assistant
When playing against the computer on lichess.org, the chess computations are primarily handled on the client-side (your browser). Here's how it works and the limited role servers play:
Client-Side (Your Browser) Computations:
-
JavaScript and WebAssembly: Lichess uses JavaScript for its client-side logic, and modern browsers can handle complex computations efficiently. The chess engine, often a variant of Stockfish (a world-class, open-source engine), is optimized for web use and may be compiled to WebAssembly (WASM) for near-native performance in the browser. This allows the engine to analyze positions and make moves locally without needing server communication for each move.
-
Local Move Generation: Your browser generates and evaluates chess moves using the loaded engine, ensuring fast and seamless gameplay without constant server requests.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.