-
Notifications
You must be signed in to change notification settings - Fork 0
/
icebreaker.php
194 lines (190 loc) · 10.6 KB
/
icebreaker.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
<?php
$people = array("Andrei", "Basile", "Bradley", "Carlos", "Chris", "Emilio", "Gordon",
"Jennifer", "Johnny", "Joyce", "Judith", "Owen", "Oz", "Oscar", "Daniel", "Craig",
"Vicente", "Yiyang");
$questions = array(
"Are you a morning person or a night owl?",
"Do you prefer mental or physical exercise?",
"How would you live your life if you found out you only had a year to live?",
"If were were extremely wealthy, what changes would you make in your life or the world?",
"If you could have any animal as a tame pet, which would you choose?",
"If you were able to live forever, would you want to do so? Why?",
"If you were given $100,000 to redecorate or remodel your house or apartment, what changes would you make?",
"Is it ever right to tell a lie? Explain your answer".
"What achievement are you most proud of?",
"What annoys you?",
"What book has had a significant impact on you?",
"What book or movie character are you most like?",
"What country or place in the world would you most/least like to visit?",
"What famous person either dead or alive would you most want to meet?",
"What food did you hate as a child but enjoy now?",
"Do your follow your horoscope?",
"What food or snack do you crave most?",
"What food would you be willing to eat for every meal for the rest of your life?",
"What historical event would you like to know the truth about?",
"Do you prefer to dress casually or in formal attire?",
"What is considered socially acceptable that you do not approve of?",
"What is something unusual you recommend everyone try at least once?",
"What item have you lost recently? Did you find it?",
"What is something you have recently learned that surprised you?",
"What is something you wish you could do better?",
"Where were you born and how many places have you lived?",
"What is strange or unusual about you?",
"What is the best advice anyone ever gave you? Who gave it to you?",
"What is your favorite flower/kind of candy?",
"What is the best and worst thing about being female?",
"Where is the last place you would ever want to visit?",
"Which one world problem would you choose to solve and why?",
"Who has had the biggest impact on your life?",
"Who or what are you most grateful for?",
"What is the most important lesson you have learned so far in life?",
"What is the strangest tradition your family has?",
"What is the worst and/or best date you have ever been on?",
"What is the worst movie you have ever seen or book you have ever read?",
"What is your favorite book, movie, and/or tv show?",
"What is your favorite childhood memory?",
"What is your favorite color? Why?",
"What kind of people annoy you?",
"What is your dream job?",
"Do you collect anything?",
"Do you consider yourself a country or city person?",
"Do you enjoy reality tv?",
"Do you prefer to travel by car, plane, boat, or train? Why?",
"How do you wake yourself up in the morning?",
"What do you do to relax?",
"What kind of music do you prefer?",
"What was the last vacation you took?",
"What, if anything, makes you afraid?",
"What, if anything, makes you angry?",
"Who or what makes you happy?",
"Would you enjoy a vacation away from all technology?",
"What one outfit or type of clothing would you choose to wear every day for the rest of your life?",
"What one subject can you talk about for hours?",
"What one thing you have done in your life has given you the most satisfaction?",
"What one trait do you have that makes you feel good about yourself?",
"What quote do you try to live by?",
"What trend that has died out would like to see come back?",
"What unusual item do you have in your purse right now?",
"What unusual or unpleasant smell do you really enjoy?",
"What word(s) do you always misspell?",
"What, if anything, do you consider yourself obsessed with?",
"Who is your oldest living relative?",
"What is the best and worst thing about being male?",
"Which movie do you like so much that you can you watch repeatedly?",
"What would you do/not do for a million dollars?",
"What is one thing you enjoyed when you were a child that you still enjoy?",
"What is the highest-pressure situation you have ever been in and how did you handle it?",
"What stresses you out?",
"What person or event made the biggest impact on your life?",
"If you could do one thing every day of your life for the rest of your life, what would it be?",
"What do you think you have done to make the world a better place?",
"Have you ever met anyone famous? Who?",
"What story from your life is the scariest/funniest/strangest?",
"If you could an expert in one area, what would it be?",
"What was the best/worst purchase you ever made?",
"Who is your favorite author/actor/actress? Why?",
"What characteristics makes a person \"successful?",
"What is the most unusual thing you have ever done?",
"What food do you absolutely hate? Why?",
"What do you think was the most horrible historic event? Why?",
"Who or what do you always make time for?",
"Have you ever walked out of a movie Why?",
"What was your favorite cartoon when you were a child?",
"What would others say you own too many of?",
"What is your perfect food/snack?",
"Who is your favorite fictional villain?",
"What game or sport do you enjoy, but are not very good at?",
"What is the weirdest thing you used to do when you were a child?",
"Have you ever cried at a movie? If so, which one(s)?",
"Which activity could you do all day and still enjoy?",
"What is something you think everyone should experience at least once in life?",
"Which country/state/city would like to move to?",
"What is your earliest/favorite childhood memory?",
"What is the most recent thing you learned?",
"What one thing personal item, excluding pets and family, would you most want to save if your house caught fire?",
"What was the best vacation you ever took?",
"What random act of kindness have you done recently?",
"What is the most useful skill you have?",
"What was the most historic event you either witnessed or took part in?",
"What compliment that someone gave you that really stuck in your memory?",
"What is your favorite/least favorite card/board game?",
"What about you do you think makes you unique?",
"If you could pick one talent to instantly be an expert at, which would you choose?",
"Is there anything you collect?",
"What common food ingredient, spice, or herb do you dislike the taste of?",
"What do you consider your best talent or ability?",
"What is your first thought when see a homeless person?",
"What was the worst injury you ever had and how did you get it?",
"What was your last major accomplished goal?",
"What is your creative outlet or interest?",
"What is something you have always wanted to do, but have not done yet?",
"What do you consider the best part of your day?",
"If you could run away from your current life and start over somewhere else, would you and where would you go?",
"Would you take a trip to a foreign country alone?",
"If you could have any animal as a tame pet, which would you choose?",
"What one personality trait do you wish everyone would have?",
"What is one thing you learned this week?",
"Would you want to live forever? Why or why not?",
"What is your favorite mode of transportation? Why?",
"What is the most extreme weather you have ever experienced?",
"Who is your favorite close relative?",
"Do you consider your childhood to have been good? Why or why not?",
"Would you consider yourself to be a \"fix it yourself\" or \"call an expert\" type of person?",
"Do you watch commercials on a recorded program or fast-forward through them?",
"What do you consider the most valuable possession you own?",
"Is there anything you regret doing or not doing?",
"What do you consider the most important thing you have done in your life?");
$questionIndex = array_rand($questions);
$personIndex = array_rand($people);
?>
<!doctype html>
<html>
<head>
<style>
body{
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue",
"Lucida Grande", "Segoe UI";
font-size: 2rem;
}
h1{
font-size: 2.5rem;
margin-bottom: 0;
}
#person{
font-weight: bold;
}
</style>
<title>Random PT IceBreaker</title>
</head>
<body>
<header>
<!-- GH Corner by Tim Holman: http://tholman.com/github-corners/ -->
<a href="https://github.com/xnt/icebreaker" class="github-corner" aria-label="View source on GitHub">
<svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6
171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4
203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body">
</path>
</svg>
</a>
<style>
.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}
@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}
</style>
</header>
<section>
<h1>Ice Breaker</h1>
<p>
<span id="person">
<?= $people[$personIndex] ?>:
</span>
<span id="question">
<?= $questions[$questionIndex] ?>
</span>
</p>
</section>
</body>
</html>