start the first round when creating a game
This commit is contained in:
		| @@ -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() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user