start the first round when creating a game
This commit is contained in:
parent
178a86c597
commit
449d90bc98
@ -23,9 +23,11 @@ type Game struct {
|
||||
}
|
||||
|
||||
func NewGame() *Game {
|
||||
return &Game{
|
||||
g := &Game{
|
||||
RNG: NewRNG(),
|
||||
}
|
||||
g.StartRound()
|
||||
return g
|
||||
}
|
||||
|
||||
func (g *Game) StartRound() {
|
||||
|
Loading…
Reference in New Issue
Block a user