package main type Players [16]Player type Game struct { Pot Currency Turn int Players Players Log string } type Player struct { ID string Name string Card Card Balance Currency Active bool Participating bool Checked bool } type Currency int type Card struct { Suit int Value int } func (game Game) GetPlayers() []Player { players := []Player{} for _, player := range game.Players { if !player.Empty() { players = append(players, player) } } return players } func (p Player) Empty() bool { return p == (Player{}) }