Function setScore

 setScore(score)

Set the game score

The setScore() function sets the current score of the game.

Parameters

- score Integer representing the game score

Returns

nothing