Track the Game State

The ball serves itself after every point and both scores climb, so a match now runs on its own. What the game does not have is any idea which moment it is in. It is either waiting to serve or in the middle of a point, and no line of code says which. This node gives the game a word for that, and teaches the paddles to read it.

Topics in Track the Game State

  1. First to Eleven Wins
  2. Show the Winner
  3. Play Again
  4. Tune the Numbers

All 54 topics in the Your First Unity Game