essential.getScore
Prototype
function getScore(playername)
Input parameters
playername - the user name of the player to get the score for
Return value
The players score
Description
Called during showdown to calculate winners, should return appropriate score for each player. Higher score is better.
Example code
function getScore(playerName)
{
// Return the current score for a player (it's stored in the playerInfo)
var pi = getPlayerInfo(playerName);
return pi.score;
}
