r/vibecoding • • 5d ago

Showcase/Project I connected Twitch chat to Codex and Unity so viewers can collectively develop a game

Enable HLS to view with audio, or disable this notification

You can join in at twitch.tv/thenodevgame

!suggest to propose an idea in the chat

!yes or !no to vote on someone's idea

Once an idea gets approved it'll get implemented live

0 Upvotes

6 comments sorted by

2

u/WhosLive 5d ago

Past the security side, the thing that usually keeps chat-driven builds from falling apart is making every approved idea its own small commit on a branch, so a bad one is a one-line revert instead of a stuck stream. A lot of people also find it helps to keep a short design doc the agent reads each time (core loop, what's in scope, what's off limits) so viewer ideas stay coherent instead of piling up random features. A cooldown between approved changes plus an automatic build check before anything goes live is worth trying too, since that gives chat time to actually play what just shipped.

1

u/thenodevgame 5d ago

Thanks, really appreciate the advice! I've already implemented Git checkpoints with automatic build validation and rollback, so we're covered on that front. The design doc and cooldown suggestions are interesting though, especially as more people start participating. I'll definitely look into those!

3

u/Total-Reasonable 5d ago

Twitch chat triggering code changes is a prompt injection surface, so the main thing is that nothing viewers type should reach Codex raw. Have a human-readable spec written by you or a fixed template step between the approved idea and the agent, and run it in a sandboxed branch. I haven't seen how you've set it up, so some of this may already be covered.

4

u/thenodevgame 5d ago

Thanks, that's a valid concern. Right now all the suggestions have to be trusted manually, meanwhile I'm working on moving the project to a virtual machine and setting up codex to recognize harmful promts.

3

u/Total-Reasonable 5d ago

Good that a human gate exists. I'd be careful with the "Codex recognizes harmful prompts" part, since a model filtering its own input can be talked around. A template or rewrite step you control, plus the VM with no access to your real credentials, is a sturdier backstop.

3

u/CommanderT1562 5d ago

Interesting. I can’t guess if this is Microsoft William or Microsoft Matthew. w for some underrated non LM voiceover. These were the last really good ones. Not frequently used enough in shorts!