feat: implement scribble game flow across all four scenarios#94
Open
Sreevani1034 wants to merge 2 commits into
Open
feat: implement scribble game flow across all four scenarios#94Sreevani1034 wants to merge 2 commits into
Sreevani1034 wants to merge 2 commits into
Conversation
- Fix core bugs: hostId assignment, snapshot hostId, API base URL, schema validation - Scenario 1: auto-polling lobby, host-only start game with min-2 check - Scenario 2: name trimming, drawer assignment, secret word with role-based visibility - Scenario 3: canvas drawing/clearing, guess submission, case-insensitive matching, scoring - Scenario 4: results display, round end detection, host restart preserving players - Add DrawingCanvas component with pointer-based stroke capture - Add speckit project artifacts (discovery, constitution, spec, plan, tasks)
…lection - Add deterministicHash() function using character code hash of room code - Use hash % participants.length for drawer index - Use hash / participants.length % word count for word index - Add AI usage rules to constitution, spec, and plan artifacts - Add reflection.md and remaining scenario spec directories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes & Features Implemented
Fixed core backend bugs:
Scenario 1 (Room Setup & Lobby):
Scenario 2 (Game Start & Drawer Flow):
Scenario 3 (Gameplay Interaction):
Scenario 4 (Results & Restart Flow):
Added UI Component:
Added Spec Kit artifacts:
Summary
Implemented full multiplayer drawing game flow across all 4 scenarios including lobby management, gameplay loop, scoring, and restart system with proper Spec Kit structure and validations.
Contributor