Skip to content

207assign2 toast#61

Open
ToastedToast00 wants to merge 5 commits intomainfrom
207assign2Toast
Open

207assign2 toast#61
ToastedToast00 wants to merge 5 commits intomainfrom
207assign2Toast

Conversation

@ToastedToast00
Copy link
Contributor

Pull Request Summary — Assignment 2: CRC Cards

This pull request adds the CRC Cards required for Assignment 2 and refines the initial object structure created in Assignment 1. The update focuses on clarifying how responsibilities are distributed across the core domain objects in our social‑gaming platform and documenting how these objects collaborate to support future use cases.

Added Content

  • New file: docs/analysis/crc-cards.md
  • CRC cards for six core domain classes:
    • User
    • Friendship
    • Achievement
    • Reward
    • Game
    • SupportRequest

Each CRC card includes:

  • A list of responsibilities that the class owns
  • A list of collaborators the class depends on to perform those responsibilities

Design Improvements

The CRC cards help transition the project from raw nouns and verbs toward a structured object model. Responsibilities are now clearly assigned to specific classes, reducing overlap and preventing overly large or underpowered objects. Collaborators are explicitly identified, establishing the interaction patterns that will guide later design decisions in Assignments 3 and 4.

Code Alignment

Minor structural adjustments were made to the skeleton code from Assignment 1 to ensure class files reflect the responsibilities identified in the CRC cards. No business logic was added; only structural updates were made where appropriate.

@ToastedToast00 ToastedToast00 added the assignment Issue/PR is for a school assignment label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

assignment Issue/PR is for a school assignment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant