diff --git a/docs/analysis/crc-cards.md b/docs/analysis/crc-cards.md new file mode 100644 index 0000000..4e16f57 --- /dev/null +++ b/docs/analysis/crc-cards.md @@ -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 \ No newline at end of file