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