diff --git a/cardsim/player.go b/cardsim/player.go index f487f41..169c328 100644 --- a/cardsim/player.go +++ b/cardsim/player.go @@ -4,13 +4,16 @@ import "math/rand" // Player stores all gameplay state for one player. type Player[C StatsCollection] struct { - Stats C - Name string - Deck *Deck[C] - Hand []Card[C] - HandLimit int - Rules *RuleCollection[C] - Rand rand.Rand - Turn int - PendingMessages []Message + Stats C + Name string + Deck *Deck[C] + Hand []Card[C] + HandLimit int + ActionsPerTurn int + ActionsRemaining int + PermanentActions []Card[C] + Rules *RuleCollection[C] + Rand rand.Rand + Turn int + PendingMessages []Message }