feat: add opening repertoire training

This commit is contained in:
vrubelroman 2026-11-03 00:03:51 +03:00
parent 4eb0822ec6
commit f49aab68fa
36 changed files with 13389 additions and 90 deletions

View file

@ -13,3 +13,8 @@ the program, see `apps/desktop/src/examples.rs`).
disk when the program is updated.
- `alekhine.pgn` — 267 games of Alexander Alekhine: game records only (tags and main-line
moves). The commentary of the source collection was removed and is not distributed.
The opening-training files `najdorf.pgn` and `spanish.pgn` contain three short, legal
standalone studies each (English Attack/Classical/Scheveningen and Berlin/Morphy/Open).
Add them explicitly in **Opening training → Add PGN…**. They are not auto-installed or
updated by the program, so lines added by the user are never overwritten by a sample update.

29
examples/najdorf.pgn Normal file
View file

@ -0,0 +1,29 @@
[Event "Najdorf: English Attack"]
[Site "ChessPenguin opening training"]
[Date "2026.11.02"]
[Round "1"]
[White "6.Be3"]
[Black "6...e6"]
[Result "*"]
1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be3 e6 7. f3 Be7 *
[Event "Najdorf: Classical Variation"]
[Site "ChessPenguin opening training"]
[Date "2026.11.02"]
[Round "2"]
[White "6.Bg5"]
[Black "6...e6"]
[Result "*"]
1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Bg5 e6 7. f4 Be7 *
[Event "Najdorf: Scheveningen Setup"]
[Site "ChessPenguin opening training"]
[Date "2026.11.02"]
[Round "3"]
[White "6.Be2"]
[Black "6...e5"]
[Result "*"]
1. e4 c5 2. Nf3 d6 3. d4 cxd4 4. Nxd4 Nf6 5. Nc3 a6 6. Be2 e5 7. Nb3 Be7 *

29
examples/spanish.pgn Normal file
View file

@ -0,0 +1,29 @@
[Event "Spanish: Berlin Defence"]
[Site "ChessPenguin opening training"]
[Date "2026.11.02"]
[Round "1"]
[White "Ruy Lopez"]
[Black "3...Nf6"]
[Result "*"]
1. e4 e5 2. Nf3 Nc6 3. Bb5 Nf6 4. O-O Nxe4 *
[Event "Spanish: Morphy Defence"]
[Site "ChessPenguin opening training"]
[Date "2026.11.02"]
[Round "2"]
[White "Ruy Lopez"]
[Black "3...a6"]
[Result "*"]
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Be7 *
[Event "Spanish: Open Variation"]
[Site "ChessPenguin opening training"]
[Date "2026.11.02"]
[Round "3"]
[White "Ruy Lopez"]
[Black "3...a6 4.Ba4 Nf6 5.O-O Nxe4"]
[Result "*"]
1. e4 e5 2. Nf3 Nc6 3. Bb5 a6 4. Ba4 Nf6 5. O-O Nxe4 6. d4 b5 *