rename game.NewGame -> game.New
This commit is contained in:
parent
05acb1053f
commit
5a5f709dd6
@ -23,8 +23,8 @@ type Game struct {
|
|||||||
ShellArray [8]bool
|
ShellArray [8]bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewGame creates a new game started at round 1.
|
// New creates a new game started at round 1.
|
||||||
func NewGame() *Game {
|
func New() *Game {
|
||||||
g := &Game{
|
g := &Game{
|
||||||
RNG: NewRNG(),
|
RNG: NewRNG(),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user