-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
87 lines (81 loc) · 3.6 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="2048 in his hardest version !">
<meta name="keywords" content="2048,hard,hardcore,pixel">
<meta name="author" content="Paul Delobbel">
<meta name="Identifier-url" content="https://kamipown.github.io/Hardcore2048">
<title>Hardcore 2048</title>
<link rel="stylesheet" type="text/css" href="styles/style.css">
<link rel="icon" type="image/png" href="img/favicon.png">
</head>
<body>
<header id="main_header">
<h1><a href="/" alt="Hardcore 2048"><img src="img/title.png"></a></h1>
<nav>
<a target="_blank" href="https://kamipown.github.io" alt="Paul Delobbel">- Visit my website</a>
<a target="_blank" href="https://github.com/Kamipown/Hardcore2048" alt="Github">- View source code</a>
<a target="_blank" href="https://github.com/Kamipown/Hardcore2048/issues" alt="Github issue">- Report an issue</a>
</nav>
</header>
<div id="loading_div">
<div id="progression_div"></div>
<p id="progression_text">0%</p>
<p id="loading_state_text"></p>
</div>
<main id="main" role="main">
<section class="menu_section">
<div class="score_div">
<h2>Score :</h2>
<input id="mute_button" type="button" value="mute" onclick="Res.toggle_sounds();">
<p id="score_text">0</p>
<div>
<img src="img/blocks/poison.png">
<p id="poison_count">x0</p>
<span>This block will divide by 2 the value of the targeted block.</span>
</div>
<div>
<img src="img/blocks/skull.png">
<p id="skull_count">x0</p>
<span>This block will destroy the targeted block.</span>
</div>
<div>
<img src="img/blocks/wall_01.png">
<p id="wall_count">x0</p>
<span>Move this block 3 times to break it..</span>
</div>
</div>
</section>
<section id="board" class="game_section">
<div class="bg_cell"></div><div class="bg_cell"></div><div class="bg_cell"></div><div class="bg_cell"></div>
<div class="bg_cell"></div><div class="bg_cell"></div><div class="bg_cell"></div><div class="bg_cell"></div>
<div class="bg_cell"></div><div class="bg_cell"></div><div class="bg_cell"></div><div class="bg_cell"></div>
<div class="bg_cell"></div><div class="bg_cell"></div><div class="bg_cell"></div><div class="bg_cell"></div>
</section>
</main>
<div id="finish_div">
<p id="finish_score">2048</p>
<input type="button" value="Play Again" onclick="Game.retry();">
</div>
<div id="reaper" class="stand"></div>
<p id="reaper_text"></p>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-79993345-1', 'auto');
ga('send', 'pageview');
</script>
<script type="text/javascript" src="scripts/resources.js"></script>
<script type="text/javascript" src="scripts/index.js"></script>
<script type="text/javascript" src="scripts/ui.js"></script>
<script type="text/javascript" src="scripts/game.js"></script>
<script type="text/javascript" src="scripts/animation.js"></script>
<script type="text/javascript" src="scripts/reaper.js"></script>
<script type="text/javascript" src="scripts/block.js"></script>
<script type="text/javascript" src="scripts/inputs.js"></script>
<script type="text/javascript" src="scripts/utils.js"></script>
</body>
</html>