var currentPoint = Math.floor(Math.random() * (points));
var probabilityOfWinning = 100;
var currentPoint = Math.floor(100 * Math.random()) <= probabilityOfWinning ? 0 : 1
var probabilityOfWinning = 10;
var currentPoint = Math.floor(100 * Math.random()) <= probabilityOfWinning ? 0 : 1