Skip to content
Davit Mkhoyan
Work

05Crimson Code Hackathon

K-12 Math Terminal Program

An interactive terminal math tutor, hand-written in C at a hackathon.

Year
2024
Stack
C
  • The math tutor running in a terminal: a level 1 round of ten addition and subtraction questions, all answered correctly
  • The tutorials menu: addition, subtraction, multiplication, division, negatives, PEMDAS
  • The PEMDAS tutorial working through 3 + 2 × (10 + 2) step by step
  • The negatives tutorial with a number line
1 / 4

Why it's here

The hand-written one. No frameworks: a C program with adaptive difficulty and file-backed profiles, built at Crimson Code in March 2024.

The K-12 Math Terminal Program is an interactive math tutor that runs in the terminal, hand-written in C at the Crimson Code hackathon in March 2024. It is the smallest thing on this site and the only one with no framework underneath it.

01

Adaptive by design

Difficulty adapts to how the student is doing, with level progression as accuracy improves. User profiles are persisted with file I/O and track points, accuracy, and the correct-to-incorrect ratio across sessions.