Magic: The Gathering Lessons for GNU Emacs
This repository contains GNU Emacs Lisp lessons and quizzes for learning Magic: The Gathering. It follows the same basic structure as the Linux+ lesson project: numbered lesson files, numbered quiz files, shared quiz mode helpers, score history, and a loader.
Current scope
The project covers MTG history and major topics from the game's creation through the present. The first batch focuses on:
- early MTG history and design ideas;
- core rules, zones, turn structure, priority, and the stack;
- Standard;
- prerelease and sealed play;
- Booster Draft;
- Commander;
- Magic Online and MTG Arena.
Future daily lessons should expand into color pie philosophy, card types, combat, mulligans, deck construction, sideboarding, banned and restricted lists, organized play, set history, Limited archetypes, digital economy, Arena-only formats, MTGO leagues, and Commander deck tuning.
Loading the lessons
Put this repository somewhere Emacs can read it, for example:
(add-to-list 'load-path "~/.emacs.d/lisp/mtg-lessons")
(load-file "~/.emacs.d/lisp/mtg-lessons/mtg-load-all.el")
(mtg-load-all)
Run a lesson with M-x, such as:
M-x mtg-origin-history-lesson
M-x standard-format-lesson
M-x commander-format-lesson
Each lesson tells you which quiz to run afterward.
Listening to lesson audio in GNU Emacs on GNU/Linux
The helper file 07-mtg-audio.el uses espeak-ng by default.
Install it on Debian or Ubuntu-based systems with:
sudo apt install espeak-ng
Open a lesson, then run:
M-x mtg-audio-speak-buffer
Stop playback with:
M-x mtg-audio-stop
If your distribution only has espeak, customize mtg-audio-program:
(setq mtg-audio-program "espeak")
Files
See RECOVERY.md for the up-to-date recovery notes and file list.
Use STUDY.md to record missed questions, weak areas, and next topics.