Score update method

update(
  score: number
): void;

The user received a new score.

Requirements

  • If your game has scores, your game must call this method with any new score.
  • If your game doesn't have scores, your game should call this method if there is an alternative progress metric such as number of levels completed.