forked from tony-luisi/minesweeper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (32 loc) · 1.08 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
<!DOCTYPE html>
<html>
<head>
<title>Minesweeper</title>
<link rel="stylesheet" href="minesweeper.css">
</head>
<body>
<div id="message"></div>
<div id="notes"></div>
<div id="sound"><h4>This game has sound!</h4></div>
<!-- <div id="reset">
<input type="button" value="Reset Board" onClick="resetBoard()"/>
</div> -->
<div class="board"></div>
<audio id="boomS">
<source src="sound/explosionSound.mp3" type="audio/mp3"></source>
</audio>
<audio id="appearS">
<source src="sound/visibleSound.mp3" type="audio/mp3"></source>
</audio>
<audio id="markS">
<source src="sound/markedSound.mp3" type="audio/mp3"></source>
</audio>
<audio id="clapS">
<source src="sound/applauseSound.mp3" type="audio/mp3"></source>
</audio>
<!-- I had to put the scripts down here for the audio to work as the HTML audio tags wouldn't have been loaded yet. -->
<script src="lib/tests.js"></script>
<script src="lib/lib.js"></script>
<script src="minesweeper.js"></script>
</body>
</html>