2025-09-08 16:58:17 +02:00
|
|
|
# Opening Learner (C + SDL2)
|
|
|
|
|
|
|
|
|
|
- Click a piece, then click a destination to move.
|
|
|
|
|
- Thick board outline, board uses non-pure colors.
|
|
|
|
|
- Uses local Stockfish or asmfish via UCI.
|
|
|
|
|
- Logs mistakes to `mistakes.txt` and lets you revisit them with the `m` key.
|
|
|
|
|
|
|
|
|
|
Build and check:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
./check_build.sh
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Run:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
./opening_learner
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Tips:
|
2025-11-30 13:42:16 +01:00
|
|
|
|
2025-09-08 16:58:17 +02:00
|
|
|
- ESC clears selection.
|
|
|
|
|
- Press `m` to cycle to a stored mistake position and practice the best move there.
|
|
|
|
|
- If you play Black, the board flips so Black is at the bottom.
|
|
|
|
|
|
|
|
|
|
Notes:
|
2025-11-30 13:42:16 +01:00
|
|
|
|
2025-09-08 16:58:17 +02:00
|
|
|
- Rendering avoids TTF dependency; pieces are clear, high-contrast geometric glyphs.
|