BlogVibe coding

Vibe-coding page #5: Survey results

Some Loquiz games include survey tasks. For the players, it’s always fun to answer a question to give their own opinion on something. Otherwise, the survey tasks can also be useful for some game mechanisms. What if I tell you that with Vibe-Coding, you could display a survey task’s results in a visual way?

Try this out now, copy and paste the game ID F3XDTC3DJJ.

Survey results page

Please note that it does not work with any game that doesn’t include these two specific tasks.

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. Finally, replace the [task ID] with the ID that you find in the URL when you’re editing a task (see picture below) and replace [survey description]. Please note that you can add as many survey tasks as you want.

Build me a HTML result page that has:  One field field to put game ID and confirm button. Once confirmed, we see : 
For task [taskID], make a graph that shows the results repartition.
It's a survey about [survey description]

Use the attached api-for-llms.txt file to get instruction on how to fetch Loquiz results data
No need of API key Loquiz

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 “Add a leaderboard”. Be as specific as possible. You can also ask to edit different elements after the AI has generated the code, such as the graph appearance.

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

Easter is coming soon! Enjoy it our new outdoor game
2 April 2026

Spring is coming, and Easter is one of our first celebrations for the warm seasons (if you live on the...

Tutorial: Share your Loquiz game templates
30 March 2026

Did you create a successful Loquiz game? First of all, we encourage you to convert it into a template. Once...

Loquiz OFFLINE outdoor games: Important checklist
24 March 2026

A good outdoor game (such as a scavenger hunt) takes place in a nice location. And sometimes, some areas don’t...

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