Skip to content

feat: write Sealed Deck selection to playerProfiles Firestore doc #22

Description

@ibloud

Summary

Persist deck selection to playerProfiles/{playerToken}.deck on deck confirmation.

Implementation

  • On deck confirm:
    • write deck.primarySuit
    • write deck.cards
    • write deck.savedAt
  • Preserve existing stats fields.

Acceptance Criteria

  • Deck selection survives session restart.
  • Stored deck is readable by matchmaking logic.
  • Writes do not overwrite unrelated profile fields.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    player-profileplayerProfiles schema/persistence

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions