When starting the game, a null pointer exception is thrown because the game's state is not initialized. The state should be initialized in snake.game.SnakeGame in the method initializeState.
Acceptance criteria:
Upon running the program, it doesn't crash.
Upon pressing space, the program does not crash.
The number of rows and columns is set to a constant value.
When starting the game, a null pointer exception is thrown because the game's state is not initialized. The state should be initialized in
snake.game.SnakeGame
in the methodinitializeState
.Acceptance criteria: