-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
119 lines (93 loc) · 3.63 KB
/
game.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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Metropolitain</title>
<link href="styles/style.css" rel="stylesheet">
<link href="styles/metrodna.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Raleway:400' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto:500,300,400' rel='stylesheet' type='text/css'>
<link rel="import" href="https://www.polymer-project.org/0.5/components/paper-ripple/paper-ripple.html">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
</head>
<body>
<!--Loader -->
<div class="load"></div>
<i class="loader"></i>
<!-- Container -->
<div id="barre_jeu">
<a href="level.html"><span class="metro ligne1 game">Ligne 1</span></a>
<span><img src="imgs/ticket1.png" class="tickets">
<div id="score"></div></span> METROPOLITAIN
</div>
<div id="barre_lignes">
<div id="station_from"></div>
<div id="station_to"></div>
<div class="entre_station">
<span></span>
</div>
</div>
<!-- Pop-up d'évènement -->
<div id="popup" class="popup" onclick="hidePopup('popup');">
<img class="echap" src="imgs/Cross.png" />
<img class="icon" src="" id="popup_image" />
<h1 id="popup_title"></h1>
<p id="popup_description"></p>
</div>
<!-- Pop-up en cas de victoire -->
<div id="popup_win" onclick="window.location.href = 'level.html';">
<img class="icon" src="imgs/controleurcontent.png" />
<h1>Victoire</h1>
<p>Félicitations, tu as fait toute la ligne ! Débloques dès à présent la ligne suivante pour continuer.</p>
</div>
<!-- Quizz -->
<div class="contain">
<div id="circle">
<div id="temps"></div>
</div>
<div id="question"></div>
<div class="button raised questionnaire" id="rep1" onclick="get_question(0);"></div>
<div class="button raised questionnaire" id="rep2" onclick="get_question(1);"></div>
<div class="button raised questionnaire" id="rep3" onclick="get_question(2);"></div>
<div class="button raised questionnaire" id="rep4" onclick="get_question(3);"></div>
<div class="progress_bar">
<div id="progress"></div>
<div id="progress2"></div>
</div>
</div>
<div id="barre_bas_jeu">
<img src="imgs/Volume.png" onclick="stop_sounds();" id="sound" />
</div>
<!-- Transition -->
<div id="transition">
<div class="button raised transition green big" id="button" onclick="resetChrono();">
<p>SUIVANT</p>
<paper-ripple fit></paper-ripple>
</div>
<a href="level.html" class="button raised transition">
<p>MENU</p>
<paper-ripple fit></paper-ripple>
</a>
</div>
<audio id="alarme" class="media" visibility="hidden">
<source src="sound/portes.mp3" type="audio/mp3" />
</audio>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script type="text/javascript" src="js/js.cookie.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/game.js"></script>
<script src="js/circle-progress.js"></script>
<script>
$(window).load(function () {
$('#circle').circleProgress({
value: 1,
size: 80,
fill: {
gradient: ["#f8c808"]
},
animation: false
});
});
</script>
</html>