testsAndMisc-archive/C/opening_learner
2025-09-08 16:58:17 +02:00
..
check_build.sh wip: opening learner 2025-09-08 16:58:17 +02:00
chess.c wip: opening learner 2025-09-08 16:58:17 +02:00
chess.h wip: opening learner 2025-09-08 16:58:17 +02:00
chess.o wip: opening learner 2025-09-08 16:58:17 +02:00
engine.c wip: opening learner 2025-09-08 16:58:17 +02:00
engine.h wip: opening learner 2025-09-08 16:58:17 +02:00
engine.o wip: opening learner 2025-09-08 16:58:17 +02:00
gui.c wip: opening learner 2025-09-08 16:58:17 +02:00
gui.h wip: opening learner 2025-09-08 16:58:17 +02:00
gui.o wip: opening learner 2025-09-08 16:58:17 +02:00
main.c wip: opening learner 2025-09-08 16:58:17 +02: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 wip: opening learner 2025-09-08 16:58:17 +02:00
mistakes.h wip: opening learner 2025-09-08 16:58:17 +02:00
mistakes.o wip: opening learner 2025-09-08 16:58:17 +02:00
mistakes.txt wip: opening learner 2025-09-08 16:58:17 +02:00
opening_learner wip: opening learner 2025-09-08 16:58:17 +02:00
README.md wip: opening learner 2025-09-08 16:58:17 +02: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.