-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (47 loc) · 1.26 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
<html lang="en">
<head>
<meta charset="utf-8">
<title>CW Gaem</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="myModal" class="modal">
<div class="modal-content">
<h2>Welcome! Choose you nickname:</h2>
<label for="nickname"></label>
<input type="text" name="nickname" placeholder="nickname" id="nickname" size="20"/><br>
<a onclick="gameManager.play()" class="button" id="start">PLAY</a>
</div>
</div>
<canvas id="canvasId" width="1200" height="550"></canvas>
<div id="coins">
<p>Score: <b id="pCoins"></b></p>
<p>Level: <b id="total"></b></p>
</div>
<div id="result">
<h2 id="hBody"></h2>
<a id="aResult" href="/index.html"></a>
</div>
<div id="scoretable">
<h2>Top score</h2>
<table>
<thead>
<tr>
<th>Time</th><th>Nickname</th><th>Score</th>
</tr>
</thead>
<tbody id="records"></tbody>
</table>
</div>
<script src="src/gameManager.js"></script>
<script src="src/mapManager.js"></script>
<script src="src/spriteManager.js"></script>
<script src="src/physicManager.js"></script>
<script src="src/soundManager.js"></script>
<script src="src/eventManager.js"></script>
<script src="src/scoreTable.js"></script>
<script src="src/entities.js"></script>
<script src="src/utils.js"></script>
<script src="script.js"></script>
</body>
</html>