Slide 73
Slide 73 text
type alias Player =
{ id : Int
, name : String
, points : Int
}
type alias Play =
{ id : Int
, playerId : Int
, name : String
, points : Int
}
type alias Model =
{ players : List Player
, name : String
, playerId : Maybe Int
, plays : List Play
}