← Home·This page is provided in English only.
Conflict Cards — online party game (CAH-style). Stack: Next.js (App Router), Tailwind CSS, Convex (database, server functions, file storage, cron).
localStorage (cc_session_id). That value is sent as sessionId to identify the player in a room.convex/rooms.ts: create room, join, leave, start game, play cards, judge round, close room, snapshots for the UI, idle tombstone lookup.convex/deck.ts: action to read uploaded custom deck JSON from storage and commit it to the room.convex/cardsData.ts: parses bundled JSON decks, validates custom JSON, builds card id → text maps.convex/crons.ts: periodic sweep of inactive open rooms.roomId, sessionId, display name, hand (white card ids), score, seat order.convex/data/cards.*.json with tiers "1"–"3".Player rows are removed when they leave, when the Card Bro closes the room (the room document is deleted after a short tombstone is written), or when a room is purged for inactivity. Custom deck files in Convex storage are deleted when the room is removed or the file is replaced. See the Privacy Policy for retention details.