dnsbty / level10

Phoenix LiveView multiplayer card game
https://level10.games
MIT License
72 stars 2 forks source link

Create game struct #2

Closed dnsbty closed 4 years ago

dnsbty commented 4 years ago

We'll want a struct for managing the state of the game. This will depend on #1 and #3. I'm seeing this looking something like the following:

Table Example

%{
  "Dennis" => [
    {:set, [%Card{}, %Card{}, %Card{}]},
    {:run, [%Card{}, %Card{}, %Card{}]}
  ]
}