Hoora

How to Create a Personalized Game for a Friend with AI

A birthday is coming up, or you just want to make someone smile, and you're looking for an idea that beats flowers or a custom mug. What if the gift was a video game, with their name, your inside jokes and a mechanic that speaks directly to them? It used to take a developer to pull that off. Today, all it takes is a conversation with an AI and about twenty minutes.

Why a personalized game makes more of an impression than a classic gift

A custom-made game tells a story that only the person it's for can really understand. A game where the character dodges coffee cups because your friend always spills one, or a level where you collect references to the show you watch together: it only makes sense to them, and that's exactly why they'll remember it.

Choosing the idea: the inside joke is your best ingredient

Before opening your AI, look for a detail that's specific to the person: a habit, a passion, a story that keeps coming up between you. No need for a complicated game, this detail is what makes it work. Three ideas that work well:

  • Turn a habit into an obstacle to dodge. Spilled coffees, always running late, the joke they bring out at every party, etc.
  • Turn a passion into an item to collect. Episodes of a series, places you've visited together, albums by their favorite band.
  • Make them the hero of a famous game. Remake a classic your way, with their name and a character that looks like them (hairstyle, colors, signature accessory).

The prompt to copy to create a personalized game

This prompt asks for the right format straight away, a single standalone HTML file, with the world you've chosen:

Create an HTML game for me in a single standalone file (HTML, CSS and JavaScript included in the same document, no external resources, no libraries to download). Portrait 9:16 format, playable with touch and mouse, starts immediately, no start screen. Concept: a character named [name] has to dodge [personalized item, for example falling coffee cups] that appear faster and faster. Add a score shown at the top, a game over screen with the final score, a personalized message that mentions [name] depending on the score, and a "Play Again" button. Polish the animation and visual feedback.

And there you go, you have a game with your friend's name and world in it. If you want to understand the logic behind this kind of prompt, our guide on creating a game with ai covers it all from the start.

Iterating so the game feels just right

The first version will work, but to make it perfect, you'll need to tweak it. Stay in the same conversation and send these requests:

  • Personalized messages. "Add three different end messages depending on the score, each with an inside joke about [specific detail], written in a playful tone." This is often the part that gets the biggest laugh.
  • The look. "Replace the look of the obstacles with [themed item] and change the colors to evoke [the person's passion or world]."
  • The feel. "Add a small animation or a light sound effect every time an obstacle is dodged, to make the game more satisfying."
  • Mobile. "Make sure the touch controls are smooth and that nothing overflows on a small screen." Check this on your phone, and our guide to testing an html5 game on mobile shows you how.

Three or four rounds are enough. And if the gift comes from a whole group, a quiz about your shared memories works really well, as we explain in our guide to creating a quiz game with ai.

Giving your game

Once the game is ready, how you give it matters as much as the rest. If you send the .html file in a message, your friend will have to download it, sometimes struggle to open it, and it doesn't always work on a phone. We explain why in our guide to turning an html file into a playable online game.

The easiest way is to put it online on Hoora. Go to the website and click the purple "Import" button in the left-hand menu.

The Import button in the Hoora website side menu
  1. Drop in your HTML file, and a playable preview appears right away.
  2. Add a title and a description.
  3. Publish.

It's free, and the only limit is a maximum file size of 100 KB. Your game now has a link: you send it to your friend, they tap it, and the game launches right in their browser, with nothing to install. A bit like a birthday card, but playable. If they have the Hoora app, available on Android and iOS, they can also find it on your profile.

A game published on Hoora with its community stats

Small bonus: your creation stays attached to your profile. The stats show you whether the game has been replayed or shared, and nothing stops you from making another one for next year's birthday. The details of the import, screen by screen, are in our guide on publishing your ai creations.

Frequently asked questions

  • Do you need to know how to code to create a personalized game with AI? No. The prompt above is enough to get a playable game with the person's name and world.
  • Which AI should you choose? ChatGPT, Claude, Gemini or Mistral all do the job. The result depends mostly on how precise your prompt is and the tweaks you make.
  • What type of game works best as a personalized gift? A simple mechanic: dodging obstacles, collecting items, or a small quiz about shared memories. The simpler the game, the more the inside joke stands out.
  • Can I put a photo of my friend in the game? Better not. A photo quickly pushes the file past the 100 KB limit. Ask the AI to draw a character that looks like them instead.
  • How do I give the game without sending a file that's hard to open? By publishing it on the Hoora website, with the "Import" button. You get a simple link to send, which plays right in the browser.
  • Can I do this for a last-minute birthday? Yes. Count on about twenty minutes from the first idea to a game ready to give.
  • What if I want to make one for a group? The same idea works really well: a quiz about the group's memories, or a game where everyone tries to beat each other's score.

For the next birthday, no need to run around the shops. An idea, an inside joke, twenty minutes with an AI, and your friend gets a gift nobody else could give them.