Closed camirmas closed 5 years ago
Right now we default to the small board size in db.CreateGame:
db.CreateGame
board := Board{Size: SmallBoardSize, Stones: []Stone{}}
This should instead be:
board := Board{Size: RegBoardSize, Stones: []Stone{}}
Also update models.TestCreateGame to ensure that the board is created with the proper size.
models.TestCreateGame
In a future iteration, we'll add a parameter to the createGame mutation to choose a different board size.
createGame
Right now we default to the small board size in
db.CreateGame
:This should instead be:
Also update
models.TestCreateGame
to ensure that the board is created with the proper size.In a future iteration, we'll add a parameter to the
createGame
mutation to choose a different board size.