forked from IlariaFa/Cookie-Clicker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (60 loc) · 2.78 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Rocket-Cliker</title>
<meta charset="utf-8">
<meta name="description" content="Rocket Clicker Game">
<meta name="keywords" content="cookie, cliker, rocket, click, game">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="CSS/reset.css" rel="stylesheet" media="all" type="text/css">
<link href="CSS/style.css" rel="stylesheet" media="all" type="text/css">
<link rel="icon" type="image/png" href="img/rocket.png"/>
<link href="https://fonts.googleapis.com/css?family=Black+Ops+One" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Aldrich" rel="stylesheet">
</head>
<body>
<header>
<h1>Bring rocket to the moon !</h1>
</header>
<section>
<div id="gameOver">
<p> </p>
<img style="display:none" id="explosion" src="https://media.giphy.com/media/l41lHDSvmwnQGDUD6/giphy.gif"/>
</div>
<div id="container">
<div id="affichage">Score:0</div>
<div id="clic">
<canvas id="mon_canvas" width="600" height="600">
Your browser does not support the canvas element :(
</canvas>
</div>
<div id="healthbar">
<p>Health:</p>
<progress id="health" value="100" max="100"></progress>
</div>
<div id="containerButtons">
<button id="multiplier" class="rainbow-button">Multiplier x 1</button>
<p id="nextMulti" class="buy">Buy: 50 points</p>
<button id="bonus" onclick="iGotBonus()" class="rainbow-button">Get bonus!</button>
<p id="buyBonus" class="buy">Buy: 5000 points</p>
<button id="autoclic" onclick="buyAutoclick()" class="rainbow-button">AutoClick > Off</button>
<p id="buyAuto" class="buy">Buy: 500 points</p>
</div>
<div>
<button id="reparation" onclick="restoreLife()">Repair for <br>10 points</button>
</div>
</div>
<div id="music">
<audio src="sound/bgmusic.mp3" controls loop autoplay>
<p>If you are reading this, it is because your browser does not support the audio element.</p>
</audio>
</div>
</section>
<footer>
<p id="credits">
Codé par Ilaria, Gaëlle, Othman et Dorian. Pour le projet cookie clicker, février 2019, à Becode.
</p>
</footer>
<script src="JS/script.js"></script>
</body>
</html>