player created in game

This commit is contained in:
stryan 2021-10-01 14:01:38 -04:00
parent ab0af6e41f
commit f42b7773ce

View File

@ -7,13 +7,3 @@ type Player struct {
Life int `json:"life"` Life int `json:"life"`
Ready bool `json:"ready"` Ready bool `json:"ready"`
} }
func NewPlayer(name string, id int) *Player {
return &Player{
Name: name,
Id: id,
Hand: []*Card{},
Life: 3,
Ready: false,
}
}