testsAndMisc/C/opening_learner/README.md
Krzysztof kuhy Rudnicki e3f9e6dc0b fix: correct shebang and executable permissions
- Add +x to Python scripts with shebangs (3 files)
- Remove -x from non-script files like .cpp, .txt, makefile (23 files)
- Move shebang to first line in C/imageViewer/lint.sh
2025-11-30 13:42:16 +01:00

29 lines
608 B
Markdown

# 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:
- 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:
- Rendering avoids TTF dependency; pieces are clear, high-contrast geometric glyphs.