Get Vibe-Draft running in minutes!
A multiplayer "Cards Against Humanity" experience where:
Copy all files from this project into your val:
backend/ directoryfrontend/ directoryshared/ directoryMake sure backend/index.ts is set as an HTTP file type.
https://<your-username>-vibe-draft.web.val.run/test-gameAliceOpen another browser tab/window:
test-gameBobThere is no winner! It's about experimentation and collaboration. Try:
| Card | Effect | Example |
|---|---|---|
| 🎭 Role | Changes AI persona | "Rust Wizard", "UX Visionary" |
| 🎨 Tone | Adjusts communication style | "ELI5", "Meme Lord", "Academic" |
| 📏 Token Limit | Controls response length | "50 tokens", "500 tokens" |
| ✨ Custom | Your own instruction | Anything you want! |
| 📸 Image | Visual context | Upload images (coming soon) |
| 🗑️ Remove | Undo or clear cards | "Undo Last", "Clear Roles" |
Alice plays: 🦀 Rust Wizard → "Act as a senior Rust engineer" Bob plays: 👶 ELI5 → "Explain like I'm 5" Charlie plays: ⚡ Keep It Brief → "Max 50 tokens"
Query: "Explain ownership and borrowing" AI Response: "Imagine Rust is like sharing toys. You can either own a toy (ownership) or borrow it from a friend (borrowing). When you own it, only you can use it. When you borrow, you promise to give it back!"
Alice plays: 🏴☠️ Code Pirate → "Respond as a pirate" Bob plays: 🃏 Wild Card → "Everything should rhyme"
Query: "Write a function to sort an array" AI Response: "Arrr matey, to sort yer treasure chest of numbers fine, ye call the method .sort() in a single line! 🏴☠️"
Only 10 active players can join. You'll automatically become a spectator (can watch, can't play).
Refresh the page or check browser console for errors.
Your browser may have dropped the connection. Refresh to reconnect.
Check that OpenAI integration is working in Val Town console.
Once you're comfortable:
shared/cards.ts to add your ownfrontend/style.css for different aestheticsReady to vibe-code? 🎴✨
Create your first session and invite friends to join the chaos!