essential.addPlayer
Prototype
function addPlayer(playername, position, gamerunning)
Input parameters
playername - user name of the player who is added to the game
position - position in the room of the player
gamerunning - true if game has a state
Return value
null
Description
Called when a player is added to the game. If the game has a state gameRunning is true. In most games, no action is required in this function.
