start the first round when creating a game

This commit is contained in:
Branden J Brown 2024-01-21 00:28:57 -06:00
parent 178a86c597
commit 449d90bc98
1 changed files with 3 additions and 1 deletions

View File

@ -23,9 +23,11 @@ type Game struct {
} }
func NewGame() *Game { func NewGame() *Game {
return &Game{ g := &Game{
RNG: NewRNG(), RNG: NewRNG(),
} }
g.StartRound()
return g
} }
func (g *Game) StartRound() { func (g *Game) StartRound() {