Function addScore
addScore(amount)
Add to the game score
The addScore() function increments the current score of the game by a given amount.
Parameters
- amount Integer to be added to the current score
Returns
nothing
addScore(amount)
Add to the game score
The addScore() function increments the current score of the game by a given amount.
- amount Integer to be added to the current score
nothing