trainer: the opening trainer as a crate shared by the desktop and Android
apps/desktop/src/train.rs moves to crates/trainer; the rule of a move (right, the last one, wrong) becomes Training::judge, the desktop uses it; the app names the stats file (set_file). The line's last move comes in plain SAN; the desktop shows it its own way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
45a37fc65b
commit
bb2ef38ef6
7 changed files with 166 additions and 33 deletions
|
|
@ -9,6 +9,7 @@ members = [
|
|||
"crates/releases",
|
||||
"crates/mobile-api",
|
||||
"crates/maia",
|
||||
"crates/trainer",
|
||||
"apps/desktop",
|
||||
]
|
||||
|
||||
|
|
@ -43,6 +44,7 @@ maia = { path = "crates/maia" }
|
|||
game-review = { path = "crates/game-review" }
|
||||
online-games = { path = "crates/online-games" }
|
||||
releases = { path = "crates/releases" }
|
||||
trainer = { path = "crates/trainer" }
|
||||
|
||||
[profile.dev.package."*"]
|
||||
opt-level = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue