Skip to content

Instantly share code, notes, and snippets.

@jorydotcom
Created June 4, 2012 00:52
Show Gist options
  • Save jorydotcom/2865678 to your computer and use it in GitHub Desktop.
Save jorydotcom/2865678 to your computer and use it in GitHub Desktop.
Updating Pog Count
//Updates player pog totals to initialize game
var updatePogCount = function(player) {
player.totalPogs = player.totalPogs - player.numPogs;
return player.totalPogs;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment