Path: blob/main/tests (don't work)/TruthOrDare-TheActualTruthOrDare.js
15482 views
javascript:1var start = confirm("Would you like to play Untiteld Game");2if(start == true){3var truthordare = confirm("Truth or Dare, Cancel for Truth, Okay for Dare")4}5else{6alert("Thank you for playing");7}8if(truthordare == true){9var random = Math.floor(Math.random() * 11) + 1;10alert(random);11}12if(truthordare == false){13var randomtruth = Math.floor(Math.random() * 21) + 11;14alert(randomtruth);15}16if(random == 1){17alert("Lick a tree");18}19if(random == 2){20alert("Start dancing in the middle of the sidewalk");21}22if(random == 3){23alert("Wear one of your sibilings cloths to school");24}25if(random == 4){26alert("Ask someone to play football but bring a soccer ball");27}28if(random == 7){29alert("Reorganize someone in your house's drawers");30}31if(random == 8){32alert("");33}34if(random == 9){35alert("");36}37if(random == 10){38alert("");39}40if(randomtruth == 11){41alert("What is a weird food that you love?");42}43if(randomtruth == 12){44alert("What is the worst grade you received for a class?");45}46if(randomtruth == 13){47alert("Have you ever broken an expensive item?");48}49if(randomtruth == 14){50alert("Have you ever revealed a friend’s secret to someone else?");51}52if(randomtruth == 15){53alert("What is the worst physical pain you’ve ever been in?");54}55if(randomtruth == 16){56alert("If you could pick one other person to take with you to a deserted island, who would it be?");57}58if(randomtruth == 17){59alert("What sport or hobby do you wish you would’ve picked up");60}61if(randomtruth == 18){62alert("Personality-wise, are you more like your mom or your dad?");63}64if(randomtruth == 19){65alert("If you could only eat one meal for the rest of your life, what would it be?");66}67if(randomtruth == 20){68alert("Who is the best teacher you’ve ever had and why?");69}707172