A small browser game for practicing 4-bit binary (decimals 0–15). Catch the right falling value, build streaks, and learn from misses.
Play: feedbase2.rhuzaifa.com
| Mode | Goal |
|---|---|
| Classic | Find a decimal → catch its binary (e.g. 2 → 0010) |
| Reverse | Find a binary → catch its decimal |
| Quiz | Find a decimal → tap the matching binary |
Each mode has Easy / Normal / Hard difficulty (speed, density, quiz choices / timer).
- Score, best score (per mode × difficulty), and streak bonuses
- Sound effects (toggle), share score, pause
- Show answers cheat (hint under Find)
- On-screen arrows for touch play (toggle in settings)
- Mobile-friendly layout + installable PWA (works offline after first visit)
- Conversion chart:
assets/images/binaryConversion.png
| Input | Action |
|---|---|
| ← → / drag / on-screen pads | Move (Classic & Reverse) |
| Tap choices | Answer (Quiz) |
| Header play / pause | Pause & resume |
| Header ⚙️ | Settings (mode, difficulty, options) |
| Space / Esc | Pause toggle / settings (desktop) |
Serve over HTTP (required for ES modules and the service worker):
npx serve .Open the URL it prints. Opening index.html as a file:// page will not work reliably.
On HTTPS or localhost, use the browser’s Install app / Add to Home Screen. After the first load, the game can run offline.
index.html # UI shell
style.css # Layout & theme
manifest.webmanifest # PWA manifest
sw.js # Offline cache
js/ # Game modules
assets/icons/ # App icons
assets/fonts/ # Inconsolata
assets/images/ # Binary chart
MIT © Huzaifa Rasheed
