Skip to content
Draft
Changes from all commits
Commits
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
47 changes: 47 additions & 0 deletions docs/analysis/crc-cards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
## Game

**Responsibilities**
- Tracks the score
- Tracks the players involved
- Holds the date when event took place
- Manages the price to play

**Collaborators**
- Users
- Friend
- Currency

## User

**Responsibilities**
- Stores personal information about a person
- Stores how much currency a user has available
- Holds the userId
- Holds the avatar

**Collaborators**
- Friend

## Friend

**Responsibilities**
- Links multiple users together.
- Holds a Friendship ID with status and metadata info.

**Collaborators**
- User
- Notification (Inbox)
- Conversation

## Conversation

**Responsibilities**
- Allow multiple users to communicate with each other simultaneously.
- Contain 2 or more users.
- Has a title and a logo.
- Updates read status of messages exchanged.

**Collaborators**
- User
- Message
- WebSocket