-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
47 lines (43 loc) · 1.65 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=.9" />
<link rel="stylesheet" href="style.css" />
<title>Frozen Snake</title>
</head>
<body>
<div id="modal-background" class="modal">
<div class="modal-content">
<div id="content-container">
<h3 id="modal-header">Welcome to Frozen Snake!</h3>
<div id="leader-board">
<h4 id="modal-first-place"></h4>
<h4 id="modal-second-place"></h4>
<h4 id="modal-third-place"></h4>
</div>
<h5 id="modal-footer">Press Space Bar to Begin!</h5>
</div>
</div>
</div>
<h1>
<img src="images/olafLEFT.png" alt="snake-image" />Frozen Snake<img
src="images/olafRIGHT.png"
alt="snake-image"
/>
</h1>
<div id="image-container">
<img src="images/anna.png" alt="anna-image" />
<canvas id="game-canvas" width="750px" height="480px"></canvas>
<img id="elsa" src="images/elsa.png" alt="elsa-image" />
</div>
<div id="score-container">
<h2 id="score">Score: 0</h2>
<h2 id="high-score">High Score: 0</h2>
</div>
<script src="Javascript/main.js"></script>
<script src="Javascript/game_conditions.js"></script>
<script src="Javascript/scoring.js"></script>
<script src="Javascript/modals.js"></script>
</body>
</html>