A lightweight TUI-based speed drill for mental arithmetic.
Inspired by ttyper.
- Rust toolchain (stable): https://rustup.rs
- A terminal that supports ANSI/TUI output
git clone <REPO_URL>
cd mmath
cargo install --path .If ~/.cargo/bin is in your PATH (default for most Rust setups), you can run:
mmathgit clone <REPO_URL>
cd mmath
cargo build --release
ln -s "$(pwd)/target/release/mmath" /usr/local/bin/mmathThen run from anywhere:
mmathcargo runEverything is configurable in the start menu. Flags just preset a toggle:
| Flag | Effect |
|---|---|
-m, --mult-choice |
Multiple choice: pick from a 2x2 grid by click or keys 1-4 |
cargo uninstall mmath # if installed with `cargo install`
sudo rm /usr/local/bin/mmath # if you symlinked it insteadThen delete the clone. Build output (target/) lives inside it.