Created
June 4, 2012 00:52
-
-
Save jorydotcom/2865678 to your computer and use it in GitHub Desktop.
Updating Pog Count
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//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