Can create a game, join it, and start it.
Need to work on sharing game rounds and making that logic work on the backend
Ok, hitting api/games/create does make a connection to firebase and can access the api there.
Created a google service account via https://console.cloud.google.com/iam-admin/serviceaccounts/create?authuser=0&project=cards-api-1c66e&supportedpurview=project and encoded the JSON file as:
Firebase usage:
API endpoints:
How to distribute cards to the players? Starting the game should create and shuffle a deck.
Players should see their cards, and see the deck status, and see other players card counts.
Players should be able to pass a card(s).
Players should be able to play a card.
The game should enforce when a player can take an action, but it seems like it would be ok as a first step to allow anyone to play at any time, and enforce the rules out-of-band.