Dev.to WebDev πŸ›  Dev πŸ‘ 0 πŸ“– 2 min read

Building a Free Friendship Quiz That Opens Straight From a Group Chat

Building a Free Friendship Quiz That Opens Straight From a Group Chat A friendship quiz starts with a pretty ordinary question: How well do my friends actually know me? You pick 10 questions about yourself, share a link

Building a Free Friendship Quiz That Opens Straight From a Group Chat

Building a Free Friendship Quiz That Opens Straight From a Group Chat

A friendship quiz starts with a pretty ordinary question: How well do my friends actually know me? You pick 10 questions about yourself, share a link, and see who gets the most right. The fun part is usually finding out that the friend who’s seen you order pizza a dozen times still picked burgers.

Friendship Quiz turns that idea into a free online game called Don’t Block Me. You choose questions about your favorite foods, spending habits, or other everyday details, then set your answers and send the quiz link to your friends. They can play in their browser without signing up or downloading an app.

The interesting part from a web development perspective is what happens around those 10 questions. A friend should be able to tap a link and start playing, while the person who made the quiz still needs a way to come back and manage the results.

One quiz, two different jobs

The creator and the player need different things from the same quiz. The player needs a link that opens the right set of questions. The creator needs a scoreboard where they can see who played, review individual answers, and manage entries.

The app separates those jobs. A public link opens the quiz, while a browser-stored ownership key and an HTTP-only cookie help the app recognize the creator. That keeps the shared URL simple and avoids making players create accounts just to answer a few questions.

There’s a trade-off here. Browser-based ownership makes setup quick, but it doesn’t give you the same cross-device access as an account. If you’re building a similar tool, it’s worth deciding early how important it is for someone to start on their phone and manage the same quiz later on their laptop.

The scoreboard gives the group something to talk about

A score of 7 out of 10 tells you how someone did. Seeing which three questions they missed is usually more interesting. Maybe they remembered your favorite dessert but somehow got your go-to takeout order wrong.

The scoreboard lets the creator check those answers and add a playful β€œBlocked” stamp to a result. The stamp stays inside the game. It gives friends something to joke about when the scores make their way back into the group chat.

What I’d keep in a similar project

For a small social web app, I’d design the flow around the moment someone receives the link. They’re probably on their phone, in the middle of a conversation, and deciding whether to tap. Let them reach the first question quickly. After they finish, give them a result worth bringing back to the conversation.

That’s what makes a simple β€œhow well do you know me?” quiz work in a group chat. The link gets people in, and the wrong answers give them something to talk about afterward.

πŸ“° Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.