The nostalgic childhood game, reimagined for the modern web
Remember passing notes in class, crossing out letters, and counting down to find out if your crush liked you back? FLAMES is that magical childhood game — Friends, Love, Affection, Marriage, Enemy, or Siblings — brought to life with stunning animations and modern web technology.
Enter two names. Watch the magic happen. Discover your destiny. 💕
| Feature | Description |
|---|---|
| 🎰 Slot Machine Reveal | Watch FLAMES letters spin and land like a casino jackpot |
| ✨ Auto Mode | Beautiful animated experience with confetti, glows, and transitions |
| ✏️ Manual Mode | Paper-and-pencil style for the traditional experience |
| 📊 Global Charts | See trending names and results from players worldwide |
| 🎨 Seasonal Themes | Valentine's, Halloween, Christmas, and more! |
| 🔊 Sound & Haptics | Immersive audio feedback and vibrations |
| 🏆 Achievements | Unlock badges as you play |
| 📱 Mobile First | Perfect on any device |
| 🌙 Dark Mode | Easy on the eyes |
| 📤 Share Results | Download and share your result cards |
| Letter | Meaning | Emoji |
|---|---|---|
| F | Friendship | 🤝 |
| L | Love | ❤️ |
| A | Affection | 💕 |
| M | Marriage | 💍 |
| E | Enemy | ⚔️ |
| S | Siblings | 👫 |
Try it now at theflames.app — no signup required!
Or check out:
- 📖 How It Works — Learn the algorithm step by step
- ✏️ Manual Mode — Play the old-school way
- 📊 Global Charts — See trending results
- 📚 API Docs — Build with our API
The FLAMES calculation is beautifully simple:
- Cross out common letters between both names
- Count the remaining letters
- Eliminate FLAMES letters one by one using the count
- The last letter standing reveals your fate!
Example: "ALICE" & "LIAM"
- Find common letters:
A,LandIappear in both - Cross them out:
ALICE→CE|LIAM→M - Count remaining: 2 + 1 = 3
- Count through F-L-A-M-E-S, eliminate at 3, repeat...
- Result: Your FLAMES destiny! 🔥
See Vercel usage recovery for the R2 media setup, upload workflow, and deployment recovery steps.
- Framework: Next.js 16 + React 19
- Language: TypeScript
- Styling: Tailwind CSS v4
- Animation: Framer Motion
- Database: Supabase
- State: Zustand
# Clone the repo
git clone https://github.com/osnaren/the-flames.git
cd the-flames
# Install dependencies
npm install
# Create environment file
cp .env.example .env.local
# Add your Supabase credentials
# Start dev server
npm run devOpen http://localhost:3000 🎉
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Create production build |
npm run start |
Run production server |
npm run lint |
Lint code with ESLint |
npm run format |
Format code with Prettier |
npm run typecheck |
Run TypeScript checks |
The FLAMES API is free to use:
curl -X POST https://theflames.app/api/flames \
-H "Content-Type: application/json" \
-d '{"name1": "Alice", "name2": "Bob"}'See API Documentation for details.
This project is licensed under the CC BY-NC-SA 4.0 (Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International).
- ✅ Share and adapt for non-commercial purposes
- ✅ Give appropriate credit
- ❌ Commercial use without permission
- ❌ Distribution without same license
Note: The FLAMES algorithm itself is common knowledge and is not claimed as proprietary. This license applies to the unique implementation, design, and codebase of this project.
Contributions are welcome! Please read our Contributing Guide and Code of Conduct first.
- The countless students who played FLAMES in classrooms around the world
- All contributors and supporters of this project
- shadcn/ui and Magic UI for beautiful components
Made with 🔥 by OSLabs