mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 16:43:05 +02:00
- 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
29 lines
608 B
Markdown
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.
|