Every time you click the button, it subtracts your score from 100. Then, it picks a random number between 1 and whatever's left (100 minus your score). If the random number is 1, you LOSE