Real-time 2-player puzzle battle game
https://soda-pop-game.vercel.app
- Real-time Multiplayer - Battle with friends in real-time
- Match-3 Puzzle - Connect 3 or more blocks to pop them
- 60-Second Time Attack - Compete for the highest score
- Room Code System - Play with friends using 6-digit codes
- Frontend: Next.js 15, React, TypeScript
- Styling: Tailwind CSS v4
- Backend: Supabase (Database + Realtime)
- Rendering: HTML5 Canvas
- Deployment: Vercel
- Node.js 18+
- pnpm
- Supabase project
| Variable | Description |
|---|---|
NEXT_PUBLIC_SUPABASE_URL |
Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
Supabase anonymous key |
NEXT_PUBLIC_TURNSTILE_SITE_KEY |
Cloudflare Turnstile site key |
# Install dependencies
pnpm install
# Set up environment variables
cp .env.local.example .env.local
# Edit .env.local with your credentialsRun the SQL schema in your Supabase SQL Editor:
# Copy contents of supabase/schema.sql to Supabase SQL Editor and executepnpm dev- Enter your nickname
- Create a room or Join a room (6-digit code)
- Wait for opponent to join, then start the game
- Match 3 or more same-colored blocks to pop them
- Get the higher score within 60 seconds to win!
Copyright (c) 2026 Jaem. All rights reserved.
This source code is provided for reference only. Unauthorized copying, modification, or distribution is prohibited without explicit permission.