Micro project

Testing the game without database

Prompt

Build a completely NEW multiplayer web app from ZERO. Do NOT use, preserve, or assume any existing project/code. Create a polished private multiplayer Game Hub using: Frontend: React + TypeScript + Vite + Tailwind Backend: Node.js + TypeScript + Socket.IO State: temporary in-memory only NO Firebase, Supabase, MongoDB, SQL, Redis, Prisma, or any database. GAME FLOW: Game Hub → Select Game → Create/Join Private Room → Room Code + Invite Link → Waiting Room → Multiplayer Game → Results → Rematch/Hub Add these 10 REAL playable multiplayer games: 1. Tic-Tac-Toe — 2 players 2. Connect 4 — 2 players 3. Rock Paper Scissors — 2 players 4. Quick Quiz — 2–6 players 5. Draw & Guess — 2–6 players, synced drawing + secret word 6. Memory Match — 2–4 players 7. Bomb Pass — 2–8 players 8. Number Rush — 2–6 players 9. Dots & Boxes — 2–4 players 10. Mini Race — 2–6 players Every game must use the same reusable private-room and Socket.IO infrastructure. IMPORTANT: - Server-authoritative game logic. - Validate every move/action on the server. - Correct player/session assignment. - Prevent duplicate players and full-room joining. - Handle disconnect/reconnect with a grace period. - Clean up inactive/finished rooms. - Prevent client-side cheating. - No public matchmaking or public room list. - No fake/placeholder games. UI: - Modern polished game-hub design. - Responsive mobile + desktop. - Touch-friendly controls. - Room code + copy invite link. - Waiting, loading, connection, error, game-over and rematch states. - No horizontal overflow. TEST EVERYTHING before finishing: - Create room with Client A. - Join with Client B. - Verify real-time synchronization. - Test every game. - Test invalid moves. - Test disconnect/reconnect. - Test room-full behavior. - Test rematch. - Check console/server errors. - Fix TypeScript, build and runtime errors. FINAL REQUIREMENT: This must be a genuinely working fresh-from-zero 10-game multiplayer system, not merely a UI mockup. Build the complete application, test it, and fix discovered issues before declaring it complete.

A system prompt was added to support web rendering

Drag to resize

Response not available

Drag to resize
Drag to resize