function initialisePlayerData() {
    clearPlayerData();
    for (let entryId in quiz.players) {
         playerData[entryId] = {
             rig: 0
         };
    }
    playerDataReady = true;
}
// initialize player data, set rig of all players to 0
initialize player data, set rig of all players to 0
initialize player data set rig of all players to 0
function initialisePlayerData() {
    clearPlayerData();
    for (let entryId in quiz.players) {
         playerData[entryId] = {
             rig: 0
         };
    }
    playerDataReady = true;
}
function initialisePlayerData ( ) { clearPlayerData ( ) ; for ( let entryId in quiz . players ) { playerData [ entryId ] = { rig : 0 } ; } playerDataReady = true ; }
initialize player data, set rig of all players to 0
initialize player data set rig of all players to 0