«⚔ 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>
53 lines
1.4 KiB
TOML
53 lines
1.4 KiB
TOML
[package]
|
|
name = "chesspenguin"
|
|
description = "Chess database for Linux: view, enter and analyse PGN games with UCI engines"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
|
|
[dependencies]
|
|
chess-core.workspace = true
|
|
maia.workspace = true
|
|
game-review.workspace = true
|
|
chess-import.workspace = true
|
|
shakmaty.workspace = true
|
|
uci.workspace = true
|
|
egui.workspace = true
|
|
eframe.workspace = true
|
|
egui_extras.workspace = true
|
|
image.workspace = true
|
|
rfd.workspace = true
|
|
arboard.workspace = true
|
|
rodio.workspace = true
|
|
directories.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
online-games.workspace = true
|
|
releases.workspace = true
|
|
# Downloading the official Stockfish on request (decision 14).
|
|
ureq = "3.4"
|
|
flate2 = "1.1"
|
|
tar = "0.4"
|
|
sha2 = "0.11"
|
|
zip = { version = "9.0.5", default-features = false, features = ["deflate-flate2-zlib-rs"] }
|
|
|
|
# The system language for the first start.
|
|
sys-locale = "0.3"
|
|
whatlang = "0.18.0"
|
|
getrandom = "0.3"
|
|
# Today's date for a new game.
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "std"] }
|
|
# Warnings of the window and graphics libraries into chesspenguin.log.
|
|
log = "0.4"
|
|
base64 = "0.22"
|
|
form_urlencoded = "1"
|
|
|
|
[build-dependencies]
|
|
winresource = "0.1"
|
|
|
|
[dev-dependencies]
|
|
skrifa = "0.44"
|