Skip to content

Scribble assignment#119

Open
radha-soni wants to merge 27 commits into
everest-engineering:mainfrom
radha-soni:scribble-assignment
Open

Scribble assignment#119
radha-soni wants to merge 27 commits into
everest-engineering:mainfrom
radha-soni:scribble-assignment

Conversation

@radha-soni

@radha-soni radha-soni commented Jun 9, 2026

Copy link
Copy Markdown

Summary

Contributor

radha-soni and others added 27 commits June 9, 2026 21:52
Store host participant id on room creation, include it in room snapshots, and label the host in the lobby participant list.

Co-authored-by: Cursor <cursoragent@cursor.com>
Validate and normalize room codes on both server and client, return clearer 400/404 messages, and fix the frontend default API base URL so join requests reach the backend.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add ~2s lobby polling to refresh the room snapshot automatically and surface non-fatal refresh errors.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add backend start-game endpoint with host and 2-player gating, expose playing status via snapshots, and wire the lobby UI to enable starting only for the host once enough players have joined.

Co-authored-by: Cursor <cursoragent@cursor.com>
Show clearer lobby status messaging and button labels for host vs guest and 2-player minimum.

Co-authored-by: Cursor <cursoragent@cursor.com>
Require non-empty player names on create and join, trim whitespace before storing, and surface clear form validation feedback in the UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Assign the host as drawer when the game starts, pick the secret word deterministically from room code, and return/show the word only for the drawer viewer while guessers receive no secret word field.

Co-authored-by: Cursor <cursoragent@cursor.com>
Define Scenario 3 gameplay interaction acceptance criteria, edge cases, and manual verification steps for drawing, guess validation, history sync, and scoring.

Co-authored-by: Cursor <cursoragent@cursor.com>
Define Scenario 3 backend and frontend implementation plan for canvas interactions, guess processing, shared polling sync, and scoring state.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add ordered backend-first Scenario 3 tasks with dependencies and two-tab manual checks for canvas sync, guess handling, and scoring.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add drawer-only canvas stroke storage and API endpoints, plus an interactive canvas UI that lets the drawer draw and clear while other players see synced strokes via polling.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add guess submission with trimmed non-empty validation, case-insensitive matching, drawer-only restrictions, and wire the game guess form to the backend endpoint.

Co-authored-by: Cursor <cursoragent@cursor.com>
Render shared guess history from room snapshots on the game page so all players see submitted guesses update through existing polling sync.

Co-authored-by: Cursor <cursoragent@cursor.com>
Track per-participant scores starting at zero, award 100 points on a player's first correct guess only, and render live scoreboard values from room snapshots.

Co-authored-by: Cursor <cursoragent@cursor.com>
Define Scenario 4 acceptance criteria for shared results state, round-end behavior, host-only restart, and final two-tab validation checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
Plan Scenario 4 backend status transitions, results snapshot visibility, restart endpoint, and frontend results/restart UI behavior.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add ordered Scenario 4 backend-first tasks with dependencies and manual checks for results display, restart flow, and final validation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Transition to a shared results state on the first correct guess, reveal the secret word to all viewers in snapshots, and render final scores and guess history in the results panel.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add host-only restart from results that resets round data while preserving participants, and navigate all clients back to the lobby when polling observes lobby status.

Co-authored-by: Cursor <cursoragent@cursor.com>
Document what the starter provided, what was added across all four scenarios, key tradeoffs, and how AI-assisted work was reviewed against the spec.

Co-authored-by: Cursor <cursoragent@cursor.com>
Create .specify/memory/constitution.md and four specs/NNN-* feature
folders extracted from existing speckit artifacts so CI precheck passes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant