Scribble assignment#124
Open
riyaz-everest wants to merge 7 commits into
Open
Conversation
- Add CanvasAction/GuessEntry types, extend Room/RoomSnapshot - POST /:code/canvas endpoint (drawer-only guard) - POST /:code/guess endpoint (case-insensitive comparison) - Scoring: 100pts correct, 0 incorrect, duplicate rejection - Round-end detection (roundOver flag) - DrawingCanvas component with native HTML5 Canvas API - GuessForm wired with correct/incorrect feedback - Scoreboard and ResultPanel wired to live state - 85 backend tests, 7 frontend tests, clean TypeScript
…oiner support - Add "results" status to RoomStatus type and toRoomSnapshot() - Auto-transition to results when all guessers score 100 in submitGuess() - Create ResultsView component and ResultsPage with correct word, ranked scores, and full guess history - Add /results route with auto-navigation from GamePage on results - Implement restartGame() service with host-only authorization - Add POST /:code/restart endpoint and schema - Add restartRoom() API function and roomStore action - Add host-only restart button with inline error handling on ResultsPage - Update LobbyPage with results indicator and polling transition - Add integration tests for restart endpoint (200/403/400/404) - Add late joiner tests for results and post-restart lobby state - Update GamePage test for results status navigation
…Speckit workflow notes
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.
Summary
What changed:
Contributor