Skip to content

Scribble assignment #111

Open
lavanyadasari27 wants to merge 19 commits into
everest-engineering:mainfrom
lavanyadasari27:scribble-lab
Open

Scribble assignment #111
lavanyadasari27 wants to merge 19 commits into
everest-engineering:mainfrom
lavanyadasari27:scribble-lab

Conversation

@lavanyadasari27

Copy link
Copy Markdown

Summary

Implemented the Scribble game flow by extending the starter application and completing room management, gameplay, scoring, and restart functionality.

Changes

Room Setup & Lobby

  • Added host tracking on room creation
  • Added room join validation and room isolation
  • Implemented automatic lobby polling (~2s)
  • Restricted game start to the host with a minimum 2-player requirement

Game Start & Drawer Flow

  • Added player name validation
  • Assigned drawer and guesser roles
  • Implemented deterministic secret word selection
  • Restricted secret word visibility to the drawer

Gameplay Interaction

  • Added interactive drawing canvas and clear functionality
  • Implemented guess submission, validation, and scoring
  • Added synchronized guess history and scoreboard updates
  • Kept room state synchronized through polling

Result & Restart

  • Added result view with revealed word and final scores
  • Implemented host-only restart flow
  • Preserved participants while resetting round state and returning players to the lobby

Documentation

  • Added Discovery Notes
  • Added Constitution
  • Added Spec Kit artifacts (Specifications, Plans, Tasks, Constitution, and Reflection)
  • Added Reflection Report

Validation

  • Tested room creation and joining across multiple browser tabs
  • Verified room isolation and validation scenarios
  • Verified gameplay, scoring, result display, and restart behavior
  • Verified synchronization through polling

Contributor

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