2048 (Part 15/18)

  • 3
  • Locked
Just as we need to report wins, we must also report loses. Let's do it in a separate method: void gameOver(), by analogy with the win() method. If the game is lost, you also need to set the isGameStopped flag equal to true. At the beginning of the onKeyPress(Key) method, check whether a move is po
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