function Player(playerName) {
  this.playerName;
  this.roll = 0;
  this.tempScore = 0
  this.totalScore = 0;

}
//creates a a player and sets initial score to zero
creates a a player and sets initial score to zero
creates a a player and sets initial score to zero
function Player(playerName) {
  this.playerName;
  this.roll = 0;
  this.tempScore = 0
  this.totalScore = 0;
}
function Player ( playerName ) { this . playerName ; this . roll = 0 ; this . tempScore = 0 this . totalScore = 0 ; }
creates a a player and sets initial score to zero
creates a a player and sets initial score to zero