-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (34 loc) · 1.12 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
<!DOCTYPE html>
<html>
<head>
<title>Tetris</title>
<meta description="author" content="Pierre Jolivet">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div id="content">
<canvas id='tetris-canvas'>
Votre naviguateur ne prend pas en charge le canvas coin
</canvas>
<div id="player-infos">
<p id="player-score">Score: <span id="score">0</span></p>
<p id="next-shape-text">Pièce suivante:</p>
<canvas id='next-shape'>
Votre naviguateur ne prend pas en charge le canvas coin
</canvas>
<div id="modal">
<!--<button class="btn" id="start-game" onclick="tetris.init()">Jouer</button>-->
<p>Répartition des points par lignes éliminées:</p>
<ul>
<li>1 = 40</li>
<li>2 = 100</li>
<li>3 = 300</li>
<li>4 = 1200</li>
</ul>
</div>
</div>
<script type="text/javascript" src="assets/js/tetris.js"></script>
<script type="text/javascript" src="assets/js/player.js"></script>
<script type="text/javascript" src="assets/js/core.js"></script>
</body>
</html>