generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
225 lines (207 loc) · 12.3 KB
/
index.html
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="robots" content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="A choose your own adventure story, based on a zombie's journey to meet the Zombie King. Will you find the cure, true love, or a grizzly death?">
<meta name="keywords" content="zombie, king, story, animation, hackathon, halloween">
<link rel="canonical" href="https://abibubble.github.io/undead-choices/">
<!-- Facebook, LinkedIn, Google -->
<meta property="og:type" content="article"/>
<meta property="og:title" name="title" content="Undead Choices"/>
<meta property="og:description" content="A choose your own adventure story, based on a zombie's journey to meet the Zombie King. Will you find the cure, true love, or a grizzly death?"/>
<meta property="og:url" content="https://abibubble.github.io/undead-choices/"/>
<meta property="og:site_name" content="Undead Choices"/>
<meta property="og:image" name="image" content="assets/docs/finalsite.png"/>
<meta property="og:image:alt" content="The Undead Choices site on a variety of devices">
<!-- Twitter -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Undead Choices">
<meta name="twitter:description" content="A choose your own adventure story, based on a zombie's journey to meet the Zombie King. Will you find the cure, true love, or a grizzly death?">
<meta name="twitter:image" content="assets/docs/finalsite.png">
<meta name="twitter:image:alt" content="The Undead Choices site on a variety of devices">
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon/favicon-16x16.png">
<link rel="manifest" href="assets/favicon/site.webmanifest" crossorigin="use-credentials">
<!-- Local stylesheet -->
<link rel="stylesheet" href="assets/css/style.css">
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/98131a9f62.js" crossorigin="anonymous"></script>
<title>Undead Choices</title>
</head>
<body>
<header>
<img src="assets/img/pumpkin1.png" alt="A black and orange carved pumpkin" class="pumpkin1">
<h1>Undead <br class="header-br">Choices!</h1>
<img src="assets/img/pumpkin2.png" alt="A black and orange carved pumpkin" class="pumpkin2">
</header>
<main>
<noscript>
<p>
Sorry, this site uses JavaScript and you don't seem to have it enabled!
</p>
<img src="assets/img/js-sad.png" alt="A sad JavaScript sign" class="no-script-img">
</noscript>
<aside id="age-modal">
<div class="overlay"></div>
<div class="modal-grid">
<div class="modal-text">
<h2>
This story can contain mature content.<br>
Would you like the child-friendly version?
</h2>
</div>
<button type="button" class="modal-btn modal-child-btn" id="child">
Child-friendly, please!
</button>
<button type="button" class="modal-btn modal-adult-btn" id="adult">
Psshhh, I'm the bravest around!
</button>
</div>
</aside>
<aside id="brian-modal" class="hide">
<div class="overlay"></div>
<div class="modal-grid">
<div class="modal-text">
<h2>
It looks like your name is Brian!<br>
Would you like to play a game?
</h2>
</div>
<a href="https://abibubble.github.io/icecapades/" target="_blank" rel="noopener noreferrer" role="button" class="modal-btn btn">
A game? Yes please!!
</a>
<button type="button" class="modal-btn btn" id="close-brian-modal">
No thanks, I like zombies!
</button>
</div>
</aside>
<div class="page current">
<div class="image-holder">
<div id="content-image"></div>
<div class="static-image">
<div class="avatars girl hide" id="girl"></div>
<div class="avatars boy hide" id="boy"></div>
<div class="avatars man hide" id="man"></div>
<div class="avatars woman hide" id="woman"></div>
<div class="avatars candy hide" id="candy"></div>
</div>
<!-- Girl -->
<img src="assets/img/girl_walk.gif" alt="A walking zombie girl" id="girl_walk" class="walking-zombie hide">
<!-- Boy -->
<img src="assets/img/boy_walk.gif" alt="A jumping zombie boy" id="boy_walk" class="walking-zombie hide">
<!-- Woman -->
<img src="assets/img/woman_walk.gif" alt="A walking zombie woman" id="woman_walk" class="walking-zombie hide">
<!-- Man -->
<img src="assets/img/man_walk.gif" alt="A walking zombie man" id="man_walk" class="walking-zombie hide">
</div>
<div class="user-name-input-grid" id="user-name-input-section">
<input type="text" id="username-input" class="username-input hide" placeholder="Enter your name">
<button id="username-btn" class="username-btn btn hide">Click</button>
</div>
<div id="paragraph-container">
<div class="paragraph-holder">
<p id="story-text">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Unde quod assumenda animi, reprehenderit vel,
laudantium cum temporibus id nobis dolor aspernatur molestiae vero accusantium suscipit? Repudiandae rem
dicta asperiores accusantium.
</p>
</div>
</div>
<div class="next-prev-button-container">
<button id="previous-btn" class="btn page-btn"><i class="fas fa-lg fa-hand-point-left"></i> Previous</button>
<button id="next-btn" class="btn page-btn">Next <i class="fas fa-lg fa-hand-point-right"></i></button>
<button id="next-page" class="btn page-btn">Next Page <i class="fas fa-lg fa-hand-point-right"></i></button>
</div>
<div class="little-spider spider-animation">
<div class="spider-web" id="spider-web"></div>
<div class="spider-container">
<img id="spider" src="assets/img/enemy_spider.png" alt="An animated spider dropping down from the top of the screen on a strand of web">
</div>
</div>
</div>
<div class="page waiting"></div>
<!-- East / West -->
<div class="choice-container hide" id="east-west-container">
<button id="east-btn" class="btn page-btn right-choice">East <i class="fas fa-lg fa-hand-point-right"></i></button>
<button id="west-btn" class="btn page-btn left-choice"><i class="fas fa-lg fa-hand-point-left"></i> West</button>
</div>
<!-- Consume / Collect -->
<div class="choice-container hide" id="consume-collect-container">
<button id="consume-btn" class="btn page-btn right-choice">Consume <i class="fas fa-lg fa-hand-point-right"></i></button>
<button id="collect-btn" class="btn page-btn left-choice"><i class="fas fa-lg fa-hand-point-left"></i> Collect</button>
</div>
<!-- Red / Purple / Blue -->
<div class="choice-container hide" id="red-purple-blue-container">
<button id="red-btn" class="btn page-btn right-choice">
<img src="assets/img/red-potion.png" alt="A red potion">
<br>
<span>Red Potion</span>
</button>
<button id="purple-btn" class="btn page-btn center-choice">
<img src="assets/img/purple-potion.png" alt="A purple potion">
<br>
<span>Purple Potion</span>
</button>
<button id="blue-btn" class="btn page-btn left-choice">
<img src="assets/img/blue-potion.png" alt="A blue potion">
<br>
<span>Blue Potion</span>
</button>
</div>
<!-- Feed / Don't Feed -->
<div class="choice-container hide" id="feed-no-feed-container">
<button id="feed-btn" class="btn page-btn right-choice">Feed <i class="fas fa-lg fa-hand-point-right"></i></button>
<button id="no-feed-btn" class="btn page-btn left-choice"><i class="fas fa-lg fa-hand-point-left"></i> Don't Feed</button>
</div>
<!-- Continue / Flee -->
<div class="choice-container hide" id="continue-flee-container">
<button id="continue-btn" class="btn page-btn right-choice">Continue <i class="fas fa-lg fa-hand-point-right"></i></button>
<button id="flee-btn" class="btn page-btn left-choice"><i class="fas fa-lg fa-hand-point-left"></i> Flee</button>
</div>
<!-- Help / Don't Help -->
<div class="choice-container hide" id="help-no-help-container">
<button id="help-btn" class="btn page-btn right-choice">Help Toby <i class="fas fa-lg fa-hand-point-right"></i></button>
<button id="no-help-btn" class="btn page-btn left-choice"><i class="fas fa-lg fa-hand-point-left"></i> Don't Help</button>
</div>
<div class="audio-container">
<button class="btn audio-btn" id="audio-btn">
<i class="fas fa-volume-off"></i><br><span class="toggle">Toggle </span>Audio
</button>
</div>
<div id="progress-container">
<div id="progress">
<div id="progress-bar">
<img src="assets/img/hand.gif" alt="An animated severed hand crawling along the progress bar" id="progress-image"> <!-- 0 - 90%-->
</div>
<div class="win-loose">
<img id="gravestone" class="hide" src="assets/img/gravestone.png" alt="A gravestone with dirty and a single daisy growing from it">
<img id="heart" class="hide" src="assets/img/heart.png" alt="A zombie-looking broken heart">
<img id="potion" class="hide" src="assets/img/blue-potion.png" alt="A blue potion bottle">
</div>
</div>
</div>
</main>
<footer>
<p>Copyright © Blood, Sweat, and Brains <span id="copyright"></span></p>
</footer>
<!-- Local scripts -->
<script src="assets/js/script.js"></script>
<script src="assets/js/story-class.js"></script>
<script src="assets/js/audio.js"></script>
<script src="assets/js/variables.js"></script>
<script src="assets/js/check-age.js"></script>
<script src="assets/js/content-images.js"></script>
<script src="assets/js/background.js"></script>
<script src="assets/js/east-west.js"></script>
<script src="assets/js/drink-collect.js"></script>
<script src="assets/js/feed-or-not.js"></script>
<script src="assets/js/continue-or-flee.js"></script>
<script src="assets/js/help-or-not.js"></script>
<script src="assets/js/story.js"></script>
</body>
</html>