testsAndMisc/C/opening_learner
Krzysztof kuhy Rudnicki 0489085c68 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
..
check_build.sh wip: opening learner 2025-09-08 16:58:17 +02:00
chess.c fix: some linting issues 2025-11-01 20:11:45 +01:00
chess.h fix: some linting issues 2025-11-01 20:11:45 +01:00
chess.o wip: opening learner 2025-09-08 16:58:17 +02:00
engine.c fix: some linting issues 2025-11-01 20:11:45 +01:00
engine.h fix: some linting issues 2025-11-01 20:11:45 +01:00
engine.o wip: opening learner 2025-09-08 16:58:17 +02:00
gui.c fix: some linting issues 2025-11-01 20:11:45 +01:00
gui.h fix: some linting issues 2025-11-01 20:11:45 +01:00
gui.o wip: opening learner 2025-09-08 16:58:17 +02:00
main.c fix: some linting issues 2025-11-01 20:11:45 +01:00
main.o wip: opening learner 2025-09-08 16:58:17 +02:00
Makefile wip: opening learner 2025-09-08 16:58:17 +02:00
mistakes.c fix: some linting issues 2025-11-01 20:11:45 +01:00
mistakes.h fix: some linting issues 2025-11-01 20:11:45 +01:00
mistakes.o wip: opening learner 2025-09-08 16:58:17 +02:00
mistakes.txt feat: champions leauge server 2025-10-03 16:03:53 +02:00
opening_learner wip: opening learner 2025-09-08 16:58:17 +02:00
README.md fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
run.sh wip: opening learner 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:

./check_build.sh

Run:

./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.