Snake (Part 15/20)

  • 3
  • Locked
To store the game state, we'll need the isGameStopped variable in the SnakeGame class. Initialize it in the createGame() method. When a game is lost, stop the game and display a message about the loss to the player. To do this, create a gameOver() method and add the statements that should be execut
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet