-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (79 loc) · 2.39 KB
/
Copy pathindex.html
File metadata and controls
95 lines (79 loc) · 2.39 KB
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
<!DOCTYPE html>
<html>
<head>
<title>WorldQuiz</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link type="text/css" href="style.css" rel="stylesheet" />
<!-- lib -->
<script type="text/javascript" src="js/deps/jquery-1.6.3.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<!-- game -->
<script type="text/javascript" src="js/levels.js"></script>
<script type="text/javascript" src="js/game.js"></script>
</head>
<body>
<div id="container">
<div id="map"></div>
<div id="welcome" class="notice">
<h2>Welcome to the Worldquiz!</h2>
<h4>Click close to the asked location to<br />collect points and level up.</h4>
<h4>The closer and the faster you click,<br />the more points you will get.</h4>
<div id="startGameButton" class="button">Start Game</div>
</div>
<div id="startLevel" class="hidden notice">
<h3>
Level
<script>WQ.level.place("number")</script>
:
</h3>
<h2>
<script>WQ.level.place("name")</script>
</h2>
<div id="startLevelButton" class="button">Start Level</div>
</div>
<div id="result" class="hidden notice">
<h3>
Distance:
<script>WQ.round.place("distance")</script>
km
</h3>
<h3>
Points:
<script>WQ.round.place("points")</script>
pt.
</h3>
<div id="pauseButton" class="button">Pause</div>
<div id="nextButton" class="button">
<div id="resultTime"></div>
<span>Next</span>
</div>
</div>
<div id="gameOver" class="hidden notice">
<h2>Game Over!</h2>
<h3>
You reached
<script>WQ.level.place("accumulatedPoints")</script>
/
<script>WQ.level.place("neededPoints")</script>
Points.
</h3>
<div id="retryButton" class="button">Retry</div>
</div>
<div id="gameWon" class="hidden notice">
<h2>Contratulations!</h2>
<h2>You finished all Levels.</h2>
</div>
<div id="statusbar">
<div id="time"> </div>
<div id="points">
<script>WQ.level.place("accumulatedPoints")</script>
/
<script>WQ.level.place("neededPoints")</script>
</div>
<h1 id="target">
<script>WQ.round.place("target")</script>
</h1>
</div>
</div>
</body>
</html>