Skip to main content
D. R. Branch

Case Study: Vibe Check!

Vibe Check! is a web-based multiplayer game designed for Twitch streamers to play with their chat, made in collaboration with streamer Jack at Jackdaw.tv.

Vibe Check! Welcome Screen
The initial welcome screen of the game.

Jack was interested in creating a version of the game Wavelength by CMYK Games which they could play with their Twitch stream audience. It needed:

  • Stream safety features such as moderation
  • Mobile device accessibility
  • A polished user interface
  • React
  • Tanstack Start / Query / Form
  • Drizzle + Postgres
  • Better-Auth
  • Tailwind
  • Valibot
  • TypeScript

Ideation

Wavelength is a game where teams compete to see who can most accurately guess a target on a scale based on their team member's prompt. (For an example of play, I recommend Polygon's gameplay video on YouTube. NB: this video contains coarse language.) In adapting the idea for this project, I wanted to encourage a more collaborative approach to the game. It's not streamer vs chat, it's streamer with chat. To encourage this collaborative atmosphere:

Tech Choices

This game required UI that responds in real time to the game state, so I elected to make a React SPA with an API for server-side data fetching and mutations. This does limit people who choose not to load JavaScript, or for whom JavaScript doesn't load for whatever reason. For this project, a plurality of visitors to the site will be coming from Twitch, a platform which straight up doesn't load anything but a skeleton if JavaScript is disabled. In this scenario, I think it's reasonable to assume a visitor will have JavaScript on, and if other issues arise they can be dealt with on a case-by-case basis.

I chose Tanstack Start as a framework since it provides everything I needed: routing capabilities, being able to define type-safe RPCs for data manipulation on the server, and compatibility with the other libraries I'd chosen for the project. It was also an excuse to give it a go, which is something I'd been trying to find for a little while!

Other libraries were chosen largely through pragmatism: this project needed a fairly quick turnaround, so I wanted to use tools I was familiar with and knew could get the job done.

The User Interface

The UI needed to meet two distinct requirements: being accessible on a wide variety of devices, and being a fun thing to look at for at least an hour of streaming time! Once I had the business logic of the game sorted, I spent time making mobile-first user interfaces for each route. I tried to avoid using breakpoints and media queries for this where possible, instead leaning on flexbox and grid to do most of the work. Where media queries were used, they were for adjusting text size, padding, or occasionally flex direction.

Vibe Check! Player Prompt View on Mobile
The player 'prompting' view on a small smartphone viewport. The streamer's avatar is positioned over a target position, and the player has to make a prompt which the streamer can use to guess that position on the scale. The mid/quartile markers were added in after some user feedback rounds before the game was played on stream.

Once I had the overall layout for each route sorted, I then added a number of small design features and interactions with the aim of giving the game a whimsical feel. This included a slowly rotating radial 'spotlight' effect on the background, and a Minecraft-esque randomised subtitle on the home page referencing a number of in-jokes from the stream community. I also made the buttons respond with a little motion when hovered over.

Vibe Check! Game View
The main interface for the streamer to guess based on user prompts. The slider interface is prominent on the screen and shows the streamer's avatar as the handle. The chat player's prompt is shown as a speech bubble coming from their avatar, giving players a little moment in the spotlight.
Vibe Check! Game View showing the prompt target
Once a guess is locked in, the target fades into view. It's shown as a series of concentric circles, giving immediate visual feedback about the accuracy of the streamer's guess. As you can see here, I guessed... poorly.

Stream Safety

Twitch is a platform with fairly rigid ToS, and any public stream is a potential target for trolls. Any time you're getting user input there's risks you need to account for, and in this case one of the risks is "anything a malicious individual types in might then be displayed to several dozen people and risk the streamer punishment from the platform". Tooling to minimize risk and ensure stream safety was paramount for this project. There are multiple systems in place:

Vibe Check! Moderation View
The moderation view allows the streamer to check the next prompt and engage in moderation actions.

Outcomes

After a few rounds of testing the system with my friends (and fixing the bugs and interface issues said testing surfaced), it was time for Jack to play the game with their stream audience. The stream was a resounding success (largely measured in terms of number of in-jokes created and number of good-natured arguments discussions spawned in the chat!).

Jack has brought the game back for multiple streams since its premiere, based on audience request.

The vibes were good! NB: the full stream contains coarse language and adult topics, view at your discretion.