Skip to content

About

A modern spark for the classic FLAMES game.

Topics

Resources

Code of conduct

Contributing

Accessibility

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

172 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔥 The Flames

The nostalgic childhood game, reimagined for the modern web

Play Now • How It Works • Global Charts

React 19 Next.js 16 TypeScript Tailwind CSS


✨ What is FLAMES?

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. 💕

🎮 Features

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

🔮 FLAMES Meanings

Letter Meaning Emoji
F Friendship 🤝
L Love ❤️
A Affection 💕
M Marriage 💍
E Enemy ⚔️
S Siblings 👫

🚀 Quick Start

Try it now at theflames.app — no signup required!

Or check out:

🔥 The Algorithm

The FLAMES calculation is beautifully simple:

  1. Cross out common letters between both names
  2. Count the remaining letters
  3. Eliminate FLAMES letters one by one using the count
  4. The last letter standing reveals your fate!
Example: "ALICE" & "LIAM"
  1. Find common letters: A, L and I appear in both
  2. Cross them out: ALICE → CE | LIAM → M
  3. Count remaining: 2 + 1 = 3
  4. Count through F-L-A-M-E-S, eliminate at 3, repeat...
  5. Result: Your FLAMES destiny! 🔥

💻 For Developers

See Vercel usage recovery for the R2 media setup, upload workflow, and deployment recovery steps.

Tech Stack

Local Development

# 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 dev

Open http://localhost:3000 🎉

Available Scripts

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

API

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.

📄 License

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.

🤝 Contributing

Contributions are welcome! Please read our Contributing Guide and Code of Conduct first.

🙏 Acknowledgments

  • 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

Play Now • Report Bug • Discussions

About

A modern spark for the classic FLAMES game.

Topics

Resources

Code of conduct

Contributing

Accessibility

Stars

1 star

Watchers

1 watching

Forks

Releases

Used by

Contributors

Languages