Skip to main content

Module session

Module session 

Source
Expand description

T.1 — Interactive tutor data types.

TutorExercise + SuccessCondition + TutorSession are pure data; no dependency on the mode infrastructure. TutorMode (T.3) wraps TutorSession in a BufferLocal and drives the UI.

Structs§

TutorExercise
One practice exercise in a tutor lesson.
TutorSession
Per-tutor-buffer state. Stored as a BufferLocal by TutorMode.

Enums§

SuccessCondition
How the tutor decides an exercise is complete.
TutorGameState
High-level game state for the tutor session.

Constants§

MAX_LIVES