Play against Maia: dialog, clocks, game screen, result strip
«⚔ Play» (Ctrl+G) opens «Play against the computer»: name and rating (optional), strength 600–2600 (or weaker/as me/stronger), colour, Lichess time controls, custom, no clock. The game screen in play mode: clock cards above and below the notation (read-only), take back, resign (abort before the first moves); no engine, analysis or editing. Maia answers in a background thread with a human-like pause bounded so she never loses on time; stale answers are dropped. Endings: mate, stalemate, no material, threefold, fifty moves, time (draw when the other side cannot mate), resignation; then the result strip (Analyse, Rematch, New game, Save to a database) and an ordinary game with the tags of a played game and [%clk]. Leaving during a game asks (resign and add / resign and leave / keep playing), the clocks wait meanwhile. maia reads the published PyTorch checkpoint directly (zip + a small pickle reader that refuses everything but tensors); maia_download fetches it on request (pinned revision, SHA-256). Dev hooks CP_PLAY, CP_PLAY_AUTO, CP_MAIA. Russian texts; the other languages follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
8b468f99a7
commit
9cd28b9039
18 changed files with 2843 additions and 151 deletions
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue