BlogVibe coding

Vibe-coding page #6: Personality test – team specific results page

What if we transformed a Loquiz game into a personality test? As the team answers questions, they will receive their result at the end of the game on a custom results page. This page would be specific to that team, showing no other team’s results.

This could be a useful way to mix gamification with a consultancy’s assessment. That’s possible using vibe coding. You can create a result page that changes depending on the answers to the tasks, and it will only show a single team’s own results.

Try this game out, discover your spirit animal, and see the result at the end of the page!

How to make it yourself?

In fact, it’s easy to recreate such a result page using Vibe-Coding. Just go to your favorite LLM (e.g. ChatGPTCopilot, or Gemini), then copy and paste the following prompt and attach this .txt file. Then, replace the [task ID] with the ID that you find in the URL when you’re editing a task (see picture below), replace [survey description], and add variables corresponding to the answers and tasks related to each task question. Please note that you can add as many survey tasks as you want.

Can you generate a Loquiz results page that determines [survey description] based on survey answers from a Loquiz game?
Please use the attached file api-for-llms.txt to know how to fetch data. No need of API key. 

 To determine the result of each team, it will work as follows: 
There are 4 variables
[Profile1] = [variable1]
[Profile2] = [variable2]
...

They answer task. Each task returns a value from 0 to 9 to add to these 4 variables:
Task [Task ID] : [variable1]
Task [Task ID] : [variable2]
...


The results page will show either:
Team hasn't finished, shows "Need more answers"
Team has finished, shows the profile related with the highest variable(s)

If one result has the highest variable, then show one profile. If two variable are equal, then show 2 profile (separate with "or"). etc.

Do not put a placeholder for gameID.
GameID is [GameID]

When URL is like page.html?team=${teamName} then it shows results for that ${teamName} specifically and only 
If the team name isn't recognized, or if url is like page.html, then we show no team, and the results page tells that the team name isn't found.

Use Tailwind for nice design, use good practice of Tailwind.
Make it mobile friendly

If you want something a bit more specific, you can add instructions at the end of the prompt. For example: “Include a dark/light mode” or “Show the score”. Be as specific as possible.

Once you have the HTML page, host it on a server.

Then, in your Loquiz, add a URL in the Finish message: yourdomain.com/yourresultspage.html=?team=${TEAM_NAME}

“${TEAM_NAME}” is a field variable. It will automatically show the team name.

Let me know what you think of it! If you have any idea of a custom results page, feel free to send me an email.

Related stories

Vibe-coding page #7: Visual results for Ugly Sweater Escape
10 October 2025

Results pages are generic. What if you create one result page that’s specific to one game concept? Using vibe-coding, I...

3 reasons why you should turn your successful Loquiz games into templates
1 October 2025

Do you own a successful game that was replicated for many of your customers? I don’t recommend simply cloning the...

Vibe-coding page #5: Survey results
26 September 2025

Some Loquiz games include survey tasks. For the players, it’s always fun to answer a question to give their own...

Start free trial to bring your ideas to life

Sign up and create games, tours, team events and educational content that captures peoples' attention
Start from the scratch or use templates to kickstart!

Start for free