mirror of
https://github.com/kuhyx/testsAndMisc-archive.git
synced 2026-07-04 11:43:13 +02:00
- Move slow hooks (mypy, pylint, bandit, pytest, prettier) to pre-push stage - Remove redundant autoflake (ruff covers F401/F841) - Fix shellcheck OOM by batching files with xargs -n 40 - Remove tracked .o, .wav, .pyc binaries from git - Move pomodoro wav files to ../testsAndMisc_binaries/ with symlinks - Add *.o, *.so, *.a to .gitignore - Refactor hltb._pick_best_hltb_entry to fix C901/PLR0911/SIM102 - Fix SC2034 warnings in gif_to_square.sh and upgrade.sh - Add disk_cleanup_check.sh script - Various test and code improvements across screen_locker, steam_backlog_enforcer, word_frequency, moviepy_showcase |
||
|---|---|---|
| .. | ||
| check_build.sh | ||
| chess.c | ||
| chess.h | ||
| engine.c | ||
| engine.h | ||
| gui.c | ||
| gui.h | ||
| main.c | ||
| Makefile | ||
| mistakes.c | ||
| mistakes.h | ||
| 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.