Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
73e8149
Add discovery notes and fix API base URL
Nagusha May 29, 2026
acfd067
Add room setup and lobby specification
Nagusha May 29, 2026
89e46f7
Add technical plan for room setup and lobby
Nagusha May 29, 2026
1cb6d87
Add room setup and lobby task breakdown
Nagusha May 29, 2026
6eaddf5
Add player validation, host tracking, and lobby polling
Nagusha May 29, 2026
04391e9
Add host-only game start validation
Nagusha May 29, 2026
078c2dd
Add game state models for roles, scores, and playing status
Nagusha May 29, 2026
7d61a92
Add game start flow with drawer assignment and word selection
Nagusha May 29, 2026
009e88e
Expose drawer-only game state in room snapshots
Nagusha May 29, 2026
967dc9f
Add drawer visibility fields to room snapshot model
Nagusha May 29, 2026
122c93c
Return drawer-only word visibility from room snapshot
Nagusha May 29, 2026
76acaf7
Show drawer role and secret word on game screen
Nagusha May 29, 2026
3cfcfa8
Auto navigate players to game when round starts
Nagusha May 29, 2026
6db1342
Add game models for guesses and canvas state
Nagusha May 29, 2026
9fe99c7
Add synced guess and canvas state to room snapshots
Nagusha May 29, 2026
a9a3f8a
Add validation schema for guess submissions
Nagusha May 29, 2026
9034a73
Implement guess submission and scoring logic
Nagusha May 29, 2026
c9c9bb8
Add API route for submitting player guesses
Nagusha May 29, 2026
bfd2556
Add frontend API support for guess submission
Nagusha May 29, 2026
cfb4b3e
Add room store support for submitting guesses
Nagusha May 29, 2026
4520d11
Connect guess form to room store submission flow
Nagusha May 29, 2026
e67939a
Display synced guess history and player scores
Nagusha May 29, 2026
08d350f
Add backend support for syncing drawing canvas state
Nagusha May 29, 2026
e8581ff
Add frontend canvas API and room store integration
Nagusha May 30, 2026
481cb0f
Add interactive canvas UI and drawing controls
Nagusha May 30, 2026
77c5323
Fix game start route to initialize active game state
Nagusha May 30, 2026
fdb9972
Add automatic game state polling and canvas synchronization
Nagusha May 30, 2026
d1bc7b7
Add round tracking to room state
Nagusha May 30, 2026
32d16f4
feat: Add spec/plan/tasks for scenarios 002-004, implement restart en…
Nagusha May 30, 2026
bd03960
docs: Complete comprehensive reflection report
Nagusha May 30, 2026
832f893
docs: Add PR description with email and role formatting
Nagusha May 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .specify/memory/constitution.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Scribble Assignment Constitution

## Code Quality
- TypeScript strict mode should be followed
- Use React functional components with hooks
- Keep code modular and readable
- Avoid unnecessary complexity
- Do not rewrite the starter project from scratch

## Architecture
- Extend the existing frontend and backend structure
- Use polling for synchronization instead of WebSockets
- Keep in-memory room storage
- Avoid adding unnecessary dependencies

## Validation
- Validate player names
- Validate room codes
- Validate guesses
- Reject empty or whitespace-only input

## Testing & Review
- Manually test multiplayer flows using multiple browser tabs
- Validate implementation against acceptance criteria
- Keep implementation aligned with spec, plan, and tasks
- Review AI-generated output before committing

## Workflow Discipline
- Follow Spec → Plan → Tasks → Implement workflow
- Update documentation when requirements change
- Keep commits granular and meaningful

## Out of Scope
- No WebSockets
- No authentication
- No database
- No Docker or deployment setup
- No rewrite of starter architecture

## Governance
This constitution guides all implementation decisions for the Scribble assignment. All features and changes should comply with these rules.

**Version:** 1.0.0
Loading
Loading