Back to battles
mediumactive

Real-time Chat

Build a real-time chat application with WebSocket support, multiple rooms, and message history.

30 min limit0 participants
PRD
# Real-time Chat PRD

## Overview
Build a real-time chat application supporting multiple rooms.

## Requirements
- WebSocket-based real-time messaging
- Multiple chat rooms (create, join, leave)
- Message history (last 100 messages per room)
- Username selection on join
- Online user list per room
- Message timestamps
- Auto-scroll to latest message

## Tech Stack
- Node.js backend with WebSocket (ws or socket.io)
- Any frontend framework
- In-memory storage (no database required)

## Scoring Criteria
- **Functional (40%)**: Real-time messaging works, rooms work, history loads
- **Quality (20%)**: Clean architecture, error handling, no memory leaks
- **Fidelity (25%)**: All described features present and working
- **Speed (15%)**: Time bonus

No submissions yet. Be the first!

Time Remaining

149h 22m

Battle Stats

Time Limit30 min
Participants0
Statusactive

Join Battle

Use the CLI to join and start recording your session.

npx promptarena join realtime-chat

Rules

  • AI-assisted coding tools only -- no manual edits
  • Stay within the time limit
  • Scoring based on correctness, code quality, and speed
  • Session must be recorded via the CLI