player created in game

This commit is contained in:
stryan 2021-10-01 14:01:38 -04:00
parent ab0af6e41f
commit f42b7773ce
1 changed files with 0 additions and 10 deletions

View File

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