How To Make Your Own TikTok LIVE Interactive Games Using AI
You can make your own interactive TikTok LIVE games with AI, even if you've never written a line of code, and even if you've never used AI before. This is the method I used to set up TT Interactive, where AI has made me over 150 different widgets, games and more.
You'll need the TikFinity desktop app (that's an affiliate link, so it supports the channel if you use it, and new Pro users can get a discount), a free account with one AI chat, and the free starter pack and master prompt. You do not have to be live while you build the game.
Set up TikFinity
Start with the TikFinity desktop app. I use TikFinity anyway, because it helps you encourage engagement with alerts on screen for followers and gifters, and it also has the feature you need for custom interactive games.
On TikFinity's setup page, make an account, add your username, and log in to TikTok just below that. That's all you need to do in TikFinity for this walkthrough. I still recommend setting up the rest of TikFinity when you have time, and there's a longer guide on my channel.
Pick a free AI chat
You need a free account with an AI chat. Claude, Gemini, Grok and ChatGPT will all work, and you only need one of them.
I'm going to use Claude in this walkthrough, including a model that is free. You can forget about the model name and just follow the steps with whichever chat you picked.
Download the starter pack and describe your game
To make the game, you type what you want into the AI chat, and you also give it a file.
I've put that file on my website for you. Open the Vibe Code TikTok LIVE game guide, click download starter pack, scroll down a little and click copy prompt.
Head back to your AI chat, paste the prompt, then use the plus button to add the zip you just downloaded. That plus button is in the same place across the main AI chats. Once the prompt and the zip are attached, send the message.
You can describe any game you want. In the video I went with a pretty random idea: a very basic Angry Birds-like game using the Rose, Doughnut and Galaxy gifts. Press send, and the AI will build the game. This can take a few minutes.
While you wait, open Notepad (just type Notepad into the Windows search bar), press the plus button, and make a new text document. That's where you'll paste the code if your AI doesn't give you a direct HTML download.
Save the game as an HTML file
In the video, Claude had fully made the game in about five minutes, and even popped up a little preview window.
Depending on which AI you used, you might see a dropdown where you can download the file as HTML. If you do, download that and you can skip Notepad.
If not, find the code, press copy in the top right, then paste it into Notepad with Ctrl+V or right-click and Paste. Press Ctrl+S to save it, give it a name, and type .html at the end of the file name so it saves as the correct file type.
Open the game in your browser
Whether you downloaded the HTML straight from the chat or saved it in Notepad, open File Explorer, find the file, and drag it into a new tab in Google Chrome or whichever web browser you use.
If you need a TikTok LIVE stream key for later, I keep a vetted and verified list of free-to-join creator networks in my stream key guide.
Test it with TikFinity
Once the game is open in your browser, keep the TikFinity desktop app open. In the video, Claude's own preview said the connection to TikFinity had failed, but with the file open properly in Chrome it showed TikFinity connected.
You don't need to worry about the Tools > Event API page unless you want to see how it's connected. What you will care about is testing. If your AI hasn't added test buttons, just ask it to add them.
Click Start in the game it made for you (yours will look different), then try the tests. In my example I could test a Rose, a Doughnut, and five Roses.
If the game doesn't look how you want it, go back to the AI and say so. Tell it what you want it to do, and talk to it like a human being. If you get confused at any point, tell it: I am a beginner, take it step by step with me.
Add the game to OBS, Meld, Streamlabs or LIVE Studio
This part is a bit awkward, because TikTok LIVE Studio doesn't accept local webpages being added as a source. You can still use LIVE Studio, and I'll show you how in a moment. If you'd rather not, just use OBS with a stream key.
This also worked with Meld Studio (affiliate link, code HARRY for a discount) and Streamlabs (also an affiliate link).
In OBS, Meld or Streamlabs, go under Sources, press the plus button, find the Browser option and add a new browser source. With the game still open in a Chrome tab, copy the file path at the top of the browser (Ctrl+A, then copy) and paste it into the browser source URL. Set the size to 1080 x 1920. If you're confused, or it looks wrong, go back and talk to your AI chat. You can send it screenshots if you know how, or even point your phone at the screen as a last resort.
Press OK, and the game should appear on the canvas. In the video mine appeared mirrored. To fix that, right-click the source, choose Transform, and flip it on the horizontal axis.
I added mine in landscape. If you want a vertical canvas in OBS, you can use the Aitum Vertical plugin.
Send it from OBS to TikTok LIVE Studio
To get the same game into LIVE Studio, press Start Virtual Camera at the bottom of OBS. Inside LIVE Studio, press Add source, find the Camera option, and add it. Under Camera, choose OBS Virtual Camera. It can take a few seconds to show up. You'll usually need to press Fit to screen if it adds at the wrong size, and you may need to flip it again if it comes in mirrored.
Everything on the OBS canvas is then added in LIVE Studio. I have a longer virtual camera guide on my channel if you want to go more in depth.
That's all there is to making your own interactive TikTok LIVE game with AI. Go live and play it with your viewers.
How I scaled this to over 150 games
You might be wondering how I scaled TT Interactive from one game to over 150 different games, including widgets, an entire Minecraft plugin with over 35 game modes, and Arcade with over 30 game modes and counting.
That was done with an AI agent. An agent can work in the background without you being awake or there to monitor it, and I used Grok Bot for this. If you want to dive deeper into AI, I recommend an AI agent. The top ones currently are Grok Bot, Claude, ChatGPT and OpenClaw.
If you'd rather skip making the games and just play them, check out TT Interactive. There are free interactive games and widgets and free Arcade games, with over 150 different game modes, widgets, arcade games and more.
And if you're looking for a stream key, you can get them for free from free-to-join creator networks. The vetted list is in the stream key guide.
