A cognitive math challenge built with Svelte 5 Runes.
Numix is a 24-point-like-game, but the given numbers are 1-19, and the target number is 20-50.
$state, $derived, and $effect for reactive elegance.| Layer | Technology | Reason |
|---|---|---|
| Core | Svelte 5 | Runes provide fine-grained reactivity without overhead. |
| Language | TypeScript | Strict types prevent logic errors in math operations. |
| Styling | Tailwind CSS | Rapid UI development with consistent design tokens. |
| Logic | Custom Solver | Backtracking algorithm with cognitive cost heuristics. |
| Storage | LocalStorage | Persistent high scores without backend dependency. |
Pro Tip: Multiplication and Division yield higher scores but carry higher cognitive load risks.
npm create vite@latest numix -- --template svelte-ts
cd numix
npm install
# Replace src/App.svelte with the provided code
npm run dev