: ' + score,
        xOffset: 15,
        yOffset: 28
      }
    });
  }

  setInterval(function() {
    for (var i = 1; i <= 5; i++) {
      var score = getRandomInt(1, 100);
      scoreBoard.update({
        id: 'p' + i,
        score: score,
        text: {
          value: 'P' + i + '  Score: ' + score
        }
      });
    }
  }, 1500);

</script>
</body>
</html>

