I'm excited to share Tense Playground, a free, open-source platform I built to help learners master all 12 English tenses through interactive games, quizzes, and AI assistance.
The Problem
Learning English tenses is challenging, especially for ESL learners. Traditional methods are boring, and there's no personalized feedback. I wanted to create something fun, interactive, and powered by AI.
The Solution
Tense Playground combines:
- ๐ฎ Interactive Games for engaging learning
- :robot_face: AI Assistant for instant help
- ๐ Smart Analysis for tense detection
- ๐ Gamification to keep you motivated ## โจ Key Features ### :robot_face: AI-Powered Learning
- Tensey Chat - AI grammar assistant for questions about tenses
- Sentence Analyzer - Detects tense with breakdown (subject, verb, object, auxiliaries)
- Smart Translation - Multi-language support with grammar insights
- Alternative Suggestions - Get variations of sentences in different tenses ### ๐ Learning Tools
- Playground - Explore all 12 tenses with examples
- Quiz System - 3 difficulty levels (Easy, Medium, Hard)
- Sentence Builder - Drag-and-drop word arrangement
- Word Rainfall - Catch falling words to build sentences
- Translation Tool - Practice with 7 languages
- Tips & Tricks - Memory aids and shortcuts ### ๐ Gamification System
Daily Challenges:
โ Answer 3 quiz questions
โ Build 5 sentences
โ Score 100+ in Word Rainfall
Weekly Challenges:
โ Maintain 7-day streak
โ Master all 12 tenses
โ Get 100% accuracy
Badges & XP Rewards:
:star2: First Steps | :zap: Quick Learner | :sports_medal: Grammar Guru
:fire: Streak Master | :white_check_mark: Perfect Score | :alarm_clock: Time Traveler
๐ฅ Streak System
Track your consistency with:
- Current streak counter
- Longest streak tracker
- Total days practiced
- Automatic reset on missed days ## ๐ ๏ธ Tech Stack I built this with modern web technologies:
Frontend:
- Next.js 16 (App Router)
- React 19
- TypeScript
- Tailwind CSS
- shadcn/ui Components
Backend & AI:
- Next.js API Routes
- Google Gemini AI (gemini-2.5-flash)
- OpenAI integration ready
State Management:
- React Context + Hooks
- localStorage for persistence
Deployment:
- Vercel (Live at https://tense-playground.vercel.app)
๐ Multi-language Support
Sentence translations in:
- English (en)
- Hindi (hi)
- Telugu (te)
- Tamil (ta)
- Kannada (kn)
- Malayalam (ml)
- Marathi (mr) ## ๐ฑ Features โ Fully Responsive (Desktop, Tablet, Mobile) โ Dark/Light Theme Support โ PWA Ready โ Open Source (MIT License) โ Zero Paywalls ## ๐ How to Get Started ### Run Locally
# Clone the repo
git clone https://github.com/dharam-gfx/tense-playground.git
cd tense-playground
# Install dependencies
npm install
# or
pnpm install
# Set up environment
echo "GEMINI_API_KEY=your_api_key" > .env.local
# Run dev server
npm run dev
Open http://localhost:3000 and start learning!
Try Live
Visit: https://tense-playground.vercel.app
๐ก What I Learned Building This
- Structuring Complex State - Managing multiple game states, streaks, and challenges
- AI Integration - Prompt engineering for grammar analysis and translation
- Gamification Design - Making learning fun with badges, XP, and streaks
- Performance Optimization - Lazy loading, code splitting with Next.js
- Accessibility - Ensuring the app works for all learners
- UI/UX Best Practices - Creating intuitive interfaces with shadcn/ui ## ๐ฏ Roadmap
- [ ] User authentication & cloud save
- [ ] Spaced repetition algorithm
- [ ] Mobile app (React Native)
- [ ] Voice recognition for pronunciation
- [ ] Community features (leaderboards, discussions)
- [ ] Advanced AI writing assistant
- [ ] Video tutorials for each tense ## ๐ค Contributing I'd love your contributions! Areas needing help:
- Bug fixes and optimizations
- New tense examples and explanations
- UI/UX improvements
- Language translations
- Test coverage Check the GitHub repo for contribution guidelines. ## ๐ Support If you find this useful:
- โญ Star the repo on GitHub
- ๐ฌ Share feedback in comments
- ๐ Report bugs on GitHub Issues
- ๐ข Spread the word Your support helps me improve and maintain this project! ## Final Thoughts Learning English tenses shouldn't be boring. With Tense Playground, you get an AI-powered buddy, fun games, and real progress tracking. Whether you're preparing for IELTS, TOEFL, or just improving daily, this is for you. Happy learning! ๐
Top comments (0)