Double Ditto is a real-time multiplayer party game where players try to match answers with others. Given a prompt, players score points by submitting answers that at least one other player also chooses.
https://double-ditto-18638.web.app/
- Real-time multiplayer gameplay using Firebase Firestore
- Lobby system with host and player roles
- Join games using a lobby code
- Timed rounds with live answer submission
- Automatic scoring based on matching answers
- Real-time score updates across all clients
Frontend
- React (Vite)
- JavaScript
Backend / Infrastructure
- Firebase Firestore
- Firebase Hosting
- A host creates a lobby
- Players join using a code
- A prompt is shown each round
- Players submit answers within a time limit
- Matching answers earn points
- Scores update in real time
git clone https://github.com/your-username/double-ditto.git
cd double-ditto
npm install
Create a .env file:
VITE_FIREBASE_API_KEY=your_key
VITE_FIREBASE_AUTH_DOMAIN=your_domain
VITE_FIREBASE_PROJECT_ID=your_project_id
npm run dev
Open in browser:
http://localhost:5173
npm run build
firebase deploy
MIT