Function setLevel

 setLevel(level)

Set the game level

The setLevel() function sets the current game level.

Parameters

- level Integer representing the game level

Returns

nothing