Sample databases on the first start: 38 classic games and Alekhine's games
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run

The library is no longer empty at the first start: Classic games (the four annotated
samples plus 34 famous games from Steinitz to Carlsen, each with a short introduction
of our own) and Alekhine (267 games, moves only, the book's commentary removed). They
are built in, written once to the data directory and put on the shelf; a sample
removed from the shelf does not come back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
vrubelroman 2026-10-19 12:21:09 +03:00
parent 97d38ec919
commit 673f447491
7 changed files with 5530 additions and 3 deletions

View file

@ -82,6 +82,8 @@ pub struct Settings {
pub review: ReviewSettings,
/// The first-start engine discovery has run (see `engines::first_run_setup`).
pub engines_discovered: bool,
/// The sample databases were put on the shelf (see `examples::first_run_setup`).
pub examples_added: bool,
}
/// Options of the whole-game analysis (the engine is the active one).
@ -134,6 +136,7 @@ impl Default for Settings {
databases: Vec::new(),
review: ReviewSettings::default(),
engines_discovered: false,
examples_added: false,
}
}
}