mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 21:43:16 +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 |
||
|---|---|---|
| .. | ||
| check_build.sh | ||
| chess.c | ||
| chess.h | ||
| chess.o | ||
| engine.c | ||
| engine.h | ||
| engine.o | ||
| gui.c | ||
| gui.h | ||
| gui.o | ||
| main.c | ||
| main.o | ||
| Makefile | ||
| mistakes.c | ||
| mistakes.h | ||
| mistakes.o | ||
| mistakes.txt | ||
| opening_learner | ||
| README.md | ||
| run.sh | ||
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.txtand lets you revisit them with themkey.
Build and check:
./check_build.sh
Run:
./opening_learner
Tips:
- ESC clears selection.
- Press
mto 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.