How jhon287/arj-multiplication-tables-trainer-cli works
This is a Python CLI for practicing multiplication tables through progressively harder belt levels. A user selects a belt (or all belts) and chooses printed questions or a timed quiz. The main entry point selects the belt and prepares a question set; shared utilities generate questions, print or administer them, and report results. Belt definitions and the time limit live in configuration. The runtime evidence is limited to the README and the three indexed source files; tests and packaging are excluded.
Main entry points: main.py Command entry · utils.py Timed quiz · config.py Belt configuration
Components 9
CLI entry
- Command entry
src/main.py
Practice flow
- Question setup
src/utils.py - Generated questions
src/utils.py - Print questions
src/utils.py - Timed quiz
src/utils.py - Answer prompt
src/utils.py - Results and scoring
src/utils.py
Belt rules
- Belt configuration
src/config.py
Other components
- User
Connections 11
- User → Command entry: selects mode
README.md - Command entry → Belt configuration: reads options
src/main.py - Command entry → Question setup: requests questions
src/main.py - Question setup → Belt configuration: reads belt rules
src/utils.py - Question setup → Generated questions: generates
src/utils.py - Command entry → Print questions: prints questions
src/main.py - Command entry → Timed quiz: starts quiz
src/main.py - Timed quiz → Answer prompt: requests answers
src/utils.py - Answer prompt → User: prompts
src/utils.py - Timed quiz → Results and scoring: reports results
src/utils.py - Timed quiz → Generated questions: uses questions
src/utils.py