Inspiration

We wanted to build something that makes people laugh and learn at the same time. While most quiz platforms are purely academic or purely silly, FunQuizFool bridges the two — powered by AI.

With the rise of generative AI, we saw an opportunity to create a quiz engine that could generate fresh, surprising, and topic-relevant questions instantly, blending education and entertainment seamlessly.

Whether you're into math, anime, or history — or just want to get tricked by the AI — FunQuizFool offers it all.

What it does

FunQuizFool is a web app that generates 5 unique multiple-choice questions based on a selected topic and mode:

Serious Mode – factual and educational

Fooling Mode – absurd, ironic, and hilarious

💡 Users are tested in real-time with AI-generated content, and their scores are tracked interactively. A final result screen shows their score in a certificate-like layout. 🎓

How we built it

Frontend: Built using Next.js and Tailwind CSS for fast, responsive, and clean UI. Backend: Uses Next.js API Routes to handle question generation and answer validation. AI: Powered by Google Generative AI (Gemini) to generate questions based on prompt engineering. Quiz Engine: Designed a smart logic to filter out duplicates, randomize questions, and ensure accuracy. Deployment: Hosted on Vercel for instant and free deployment.

Challenges we ran into

Controlling AI randomness: It was difficult to force the AI to stay on-topic (e.g., anime questions sometimes turned into history). Avoiding repetition: AI tends to generate similar patterns, so we had to store previous questions in-memory and retry when duplicates were detected. Balancing humor and accuracy: Making sure the "fooling" questions were still logically sound (and fun). Formatting: Ensuring the AI responds consistently with our expected structure to avoid breaking the app.

Accomplishments that we're proud of

Fully working AI quiz engine with two modes and 5-question generation — all dynamically done with no human-written questions. A polished and user-friendly interface built in <24 hours. Clean question generation with answer validation and scoring in real-time. Carefully designed prompt engineering that balances logic and creativity.

What we learned

Prompt design really matters — the way you talk to the AI determines how “on-topic” or “off-the-rails” it goes. Even simple educational apps can become entertaining when paired with AI. Small UX details like timed loading, give-up buttons, and color feedback make a big difference. AI isn’t perfect — but with the right structure, we can guide it to behave more like a teammate than a tool.

Built With

  • gemini/gemma
  • nextjs
  • tailwindcss
  • vercel
Share this project:

Updates