Aim-IB is a fast-paced, IB-inspired math speed-run game designed to help students improve accuracy, speed, and confidence under pressure.
Players race against the clock, answer math questions, and compete on a global leaderboard.
Built with a modern glass-UI, Firebase authentication, and real-time leaderboard data.
🌐 Live Site: https://aim-ib.com
📦 Repository: https://github.com/sid-kx/aim-ib-game
- ⏱ 60-second math speed runs
- 🎓 Grade-based questions (Grades 4–8)
- 🔐 Google Sign-In (Firebase Auth)
- 🧠 Smart accuracy tracking
- 📊 Persistent player stats
- 🏆 Real-time Top 100 leaderboard (Firestore)
- 👤 Player profile with averages & history
- 👀 Guest mode (play without signing in)
- ✨ Modern glassmorphism UI
- ♿ Keyboard-friendly & accessible UI
- Pick a grade (4–8)
- Press Start Game
- Answer as many questions as you can in 60 seconds
- Your score and accuracy are saved automatically
- Climb the leaderboard 🚀
Tip: Don’t overthink — speed + accuracy wins.
-
Game Accuracy (%) =
correct answers ÷ questions attempted × 100 -
Overall Average =
Average of all game accuracy percentages (not total questions)
This keeps the leaderboard fair and skill-based.
- Leaderboard ranks players by average accuracy
- Only signed-in users appear on the real leaderboard
- Guests see a preview leaderboard (UI demo)
- Data is stored securely in Firebase Firestore
- Frontend: HTML, CSS (Glass UI), Vanilla JavaScript
- Backend: Firebase
- Firebase Authentication (Google Sign-In)
- Cloud Firestore (player stats & leaderboard)
- Hosting: GitHub Pages + Custom Domain
- Firestore rules ensure:
- Public read access for leaderboard
- Write access only for authenticated users
- Users can only modify their own stats
- Clone the repo:
git clone https://github.com/sid-kx/aim-ib-game.git
- Open index.html in your browser (Firebase features require hosting or a local server)
🧠 Future Improvements • More grades & question types • Difficulty scaling • Daily challenges • Streaks & achievements • Classroom / teacher dashboards
Made by Sidhant Kamboj Grade 12 | Ontario | Computer Science & Entrepreneurship
MIT License — free to use, modify, and learn from.