Skip to content

Assignment#102

Open
manojs-ee wants to merge 30 commits into
everest-engineering:mainfrom
manojs-ee:assignment
Open

Assignment#102
manojs-ee wants to merge 30 commits into
everest-engineering:mainfrom
manojs-ee:assignment

Conversation

@manojs-ee
Copy link
Copy Markdown
Member

Summary

Brownfield enhancement of the Scribble multiplayer drawing game scaffold. All four business scenarios implemented incrementally using the Spec Kit methodology.

What was added:

  • Scenario 1 — Room Setup & Lobby: Host tracking (hostId), join validation with specific error messages, automatic lobby polling every ~2s, host-only Start Game button with 2-player minimum, fixed starter API URL bug
  • Scenario 2 — Game Start & Drawer Flow: Player name validation, POST /rooms/:code/start endpoint, deterministic word selection (roomCount % wordList.length), drawer assignment, word visible only to drawer, role display in GamePage, guessers auto-navigate on game start
  • Scenario 3 — Gameplay Interaction: Interactive HTML canvas (drawer draws, guesser read-only), clear canvas, guess submission with trim and case-insensitive match, correct guess = 100 pts, guess history synced via polling, live scoreboard
  • Scenario 4 — Result & Restart: Game ends on correct guess (status: "finished"), all players see correct word + scores + guess history, host restarts via POST /rooms/:code/restart, all players return to lobby with round state cleared

Spec Kit artifacts committed for each scenario: constitution, discovery notes, spec, clarification session, plan, quality checklist, tasks, analyze pass, reflection.

Pre-evaluation check: all passing — builds, tests, artifact inventory, forbidden technology scan.


Contributor

Manoj Surimani added 30 commits June 4, 2026 17:00
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