-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
214 lines (187 loc) · 10.9 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>CodePen - A Pure CSS Game - You Must Build a Lighthouse.</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<input type="checkbox" id="gfxmenu" />
<input type="radio" name="gfx" id="good" checked />
<input type="radio" name="gfx" id="poor" />
<x id="graphics">
<label class="gfx" for="gfxmenu">Graphics Quality</label>
<label class="gfx" for="good">Very Pretty</label>
<label class="gfx" for="poor">Quite Pretty</label>
</x>
<sky><time>
<sun></sun>
</time></sky>
<stars><i></i></stars>
<sunset></sunset>
<colour>
<input type="radio" name="r23" id="cb23" class="hs house row4 col1" />
<input type="radio" name="r23" id="cb23s" class="hs shed row4 col1" />
<input type="radio" name="r24" id="cb24" class="hs house row4 col2" />
<input type="radio" name="r24" id="cb24s" class="hs shed row4 col2" />
<input type="radio" name="r25" id="cb25" class="hs house row4 col3" />
<input type="radio" name="r23" id="cb25s" class="hs shed row4 col3" />
<input type="radio" name="r26" id="cb26" class="hs house row4 col4" />
<input type="radio" name="r26" id="cb26s" class="hs shed row4 col4" />
<br />
<input type="radio" name="r19" id="cb19" class="hs house row3 col1" />
<input type="radio" name="r19" id="cb19s" class="hs shed row3 col1" />
<input type="radio" name="r20" id="cb20" class="hs house row3 col2" />
<input type="radio" name="r20" id="cb20s" class="hs shed row3 col2" />
<input type="radio" name="r21" id="cb21" class="hs house row3 col3" />
<input type="radio" name="r21" id="cb21s" class="hs shed row3 col3" />
<input type="radio" name="r22" id="cb22" class="hs house row3 col4" />
<input type="radio" name="r22" id="cb22s" class="hs shed row3 col4" />
<br />
<input type="radio" name="r15" id="cb15" class="hs house row2 col1" />
<input type="radio" name="r15" id="cb15s" class="hs shed row2 col1" />
<input type="radio" name="r16" id="cb16" class="hs house row2 col2" />
<input type="radio" name="r16" id="cb16s" class="hs shed row2 col2" />
<input type="radio" name="r17" id="cb17" class="hs house row2 col3" />
<input type="radio" name="r17" id="cb17s" class="hs shed row2 col3" checked />
<input type="radio" name="r18" id="cb18" class="hs house row2 col4" />
<input type="radio" name="r18" id="cb18s" class="hs shed row2 col4" />
<br />
<input type="radio" name="r11" id="cb11" class="hs house row1 col1" />
<input type="radio" name="r11" id="cb11s" class="hs shed row1 col1" />
<input type="radio" name="r12" id="cb12" class="hs house row1 col2" />
<input type="radio" name="r12" id="cb12s" class="hs shed row1 col2" />
<input type="radio" name="r13" id="cb13" class="hs house row1 col3" />
<input type="radio" name="r13" id="cb13s" class="hs shed row1 col3" />
<input type="radio" name="r14" id="cb14" class="hs house row1 col4" />
<input type="radio" name="r14" id="cb14s" class="hs shed row1 col4" />
<br />
<input type="radio" name="r23" id="ncb23" class="row4 col1" title="ncb23" />
<input type="radio" name="r24" id="ncb24" class="row4 col2" title="ncb24" />
<input type="radio" name="r25" id="ncb25" class="row4 col3" title="ncb25" />
<input type="radio" name="r26" id="ncb26" class="row4 col4" title="ncb26" />
<br />
<input type="radio" name="r19" id="ncb19" class="row3 col1" title="ncb19" />
<input type="radio" name="r20" id="ncb20" class="row3 col2" title="ncb20" />
<input type="radio" name="r21" id="ncb21" class="row3 col3" title="ncb21" />
<input type="radio" name="r22" id="ncb22" class="row3 col4" title="ncb22" />
<br />
<input type="radio" name="r15" id="ncb15" class="row2 col1" title="ncb15" />
<input type="radio" name="r16" id="ncb16" class="row2 col2" title="ncb16" />
<input type="radio" name="r17" id="ncb17" class="row2 col3" title="ncb17" />
<input type="radio" name="r18" id="ncb18" class="row2 col4" title="ncb18" />
<br />
<input type="radio" name="r11" id="ncb11" class="row1 col1" title="ncb11" />
<input type="radio" name="r12" id="ncb12" class="row1 col2" title="ncb12" />
<input type="radio" name="r13" id="ncb13" class="row1 col3" title="ncb13" />
<input type="radio" name="r14" id="ncb14" class="row1 col4" title="ncb14" />
<br />
<input type="radio" id="done" />
<div class="lh">
<light></light>
</div>
<div>
<div class="main">
<island></island>
<tree><i></i><i></i></tree>
<tree><i></i><i></i></tree>
<shed>
<label class="row1 col1 shedlabel" for="ncb11" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row1 col2 shedlabel" for="ncb12" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row1 col3 shedlabel" for="ncb13" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row1 col4 shedlabel" for="ncb14" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row2 col1 shedlabel" for="ncb15" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row2 col2 shedlabel" for="ncb16" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row2 col3 shedlabel" for="ncb17" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row2 col4 shedlabel" for="ncb18" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row3 col1 shedlabel" for="ncb19" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row3 col2 shedlabel" for="ncb20" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row3 col3 shedlabel" for="ncb21" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row3 col4 shedlabel" for="ncb22" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
</shed>
<house>
<label class="row1 col1 houselabel" for="ncb11" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row1 col2 houselabel" for="ncb12" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row1 col3 houselabel" for="ncb13" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row1 col4 houselabel" for="ncb14" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row2 col1 houselabel" for="ncb15" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row2 col2 houselabel" for="ncb16" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row2 col3 houselabel" for="ncb17" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row2 col4 houselabel" for="ncb18" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row3 col1 houselabel" for="ncb19" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row3 col2 houselabel" for="ncb20" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row3 col3 houselabel" for="ncb21" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row3 col4 houselabel" for="ncb22" title="Tap to build"><i></i><i></i><i></i><i></i><i></i></label>
<label class="row4 col1 houselabel" for="ncb23" title="Tap to build"><i></i><i></i><i></i><i></i></label>
<label class="row4 col2 houselabel" for="ncb24" title="Tap to build"><i></i><i></i><i></i><i></i></label>
<label class="row4 col3 houselabel" for="ncb25" title="Tap to build"><i></i><i></i><i></i><i></i></label>
<label class="row4 col4 houselabel" for="ncb26" title="Tap to build"><i></i><i></i><i></i><i></i></label>
</house>
<hbtn>
<label class="row1 col1 buttons" for="cb11" title="Tap to build"></label>
<label class="row1 col2 buttons" for="cb12" title="Tap to build"></label>
<label class="row1 col3 buttons" for="cb13" title="Tap to build"></label>
<label class="row1 col4 buttons" for="cb14" title="Tap to build"></label>
<label class="row2 col1 buttons" for="cb15" title="Tap to build"></label>
<label class="row2 col2 buttons" for="cb16" title="Tap to build"></label>
<label class="row2 col3 buttons" for="cb17" title="Tap to build"></label>
<label class="row2 col4 buttons" for="cb18" title="Tap to build"></label>
<label class="row3 col1 buttons" for="cb19" title="Tap to build"></label>
<label class="row3 col2 buttons" for="cb20" title="Tap to build"></label>
<label class="row3 col3 buttons" for="cb21" title="Tap to build"></label>
<label class="row3 col4 buttons" for="cb22" title="Tap to build"></label>
<label class="row4 col1 buttons" for="cb23" title="Tap to build"></label>
<label class="row4 col2 buttons" for="cb24" title="Tap to build"></label>
<label class="row4 col3 buttons" for="cb25" title="Tap to build"></label>
<label class="row4 col4 buttons" for="cb26" title="Tap to build"></label>
</hbtn>
<sbtn>
<label class="row1 col1 buttons" for="cb11s" title="Tap to build"></label>
<label class="row1 col2 buttons" for="cb12s" title="Tap to build"></label>
<label class="row1 col3 buttons" for="cb13s" title="Tap to build"></label>
<label class="row1 col4 buttons" for="cb14s" title="Tap to build"></label>
<label class="row2 col1 buttons" for="cb15s" title="Tap to build"></label>
<label class="row2 col2 buttons" for="cb16s" title="Tap to build"></label>
<label class="row2 col3 buttons" for="cb17s" title="Tap to build"></label>
<label class="row2 col4 buttons" for="cb18s" title="Tap to build"></label>
<label class="row3 col1 buttons" for="cb19s" title="Tap to build"></label>
<label class="row3 col2 buttons" for="cb20s" title="Tap to build"></label>
<label class="row3 col3 buttons" for="cb21s" title="Tap to build"></label>
<label class="row3 col4 buttons" for="cb22s" title="Tap to build"></label>
</sbtn>
<grass></grass>
</div>
</div>
<water><i></i></water>
<div class="lh">
<lens></lens>
</div>
<text>
<welldone>
<label for="done">✕</label>
<p>NICE ONE!</p>
<p>You built a lighthouse before nightfall!</p>
<p>The ships and islanders are safe!</p>
</welldone>
</text>
<text>
<gameover>
<label for="done">✕</label>
<p>GAME OVER!</p>
<p>I'm afraid I have some very bad news...</p>
<p>A ship has crashed into your beautiful island.</p>
<p>Everybody is dead!</p>
<p>Soz! You should build a lighthouse.</p>
<a href="" title="Try Again">Try Again</a>
</gameover>
</text>
</colour>
<div class="ss">
<lens></lens>
</div>
<sig><i></i></sig>
<!-- partial -->
<script src="./script.js"></script>
</body>
</html>