-
Notifications
You must be signed in to change notification settings - Fork 2
/
game-page.html
66 lines (65 loc) · 1.84 KB
/
game-page.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Mike Tyson's Knock Out</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
</head>
<body>
<!-- scoreboards -->
<div class="boards">
<p class="score-p">Current Score:</p>
<div id="score-board"></div>
<!-- <p class="player-p">Round:</p>
<div id="player"></div> -->
<div id="timer"></div>
<p class="time-p">Time:</p>
<p class="score-p1">Player 1 Score: </p>
<div id="p1score"></div>
<div id="p2score"></div>
<p class="score-p2">Player 2 Score: </p>
</div>
<!-- gameboard -->
<canvas id="game-board">
</canvas>
<!-- bottom buttons -->
<div class="buttons">
<button>
<a href="index.html">Main Page</a>
</button>
<button id="giveUp">Give Up?????</button>
<!-- <button id="reset">Restart Game</button> -->
<button id="start">Start Game</button>
<button id="nextRound">Next Round</button>
<button id="instruction">Close Briefing</button>
</div>
<!-- sound effects -->
<audio id="punch">
<source src="audio/punch.ogg" type="audio/ogg">
</audio>
<audio id="boxing">
<source src="audio/boxing.ogg" type="audio/ogg">
</audio>
<audio id="intro">
<source src="audio/introduction.ogg" type="audio/ogg">
</audio>
<audio id="win">
<source src="audio/you-win.ogg" type="audio/ogg">
</audio>
<audio id="game-over">
<source src="audio/game-over.ogg" type="audio/ogg">
</audio>
<audio id="rematch">
<source src="audio/rematch.ogg" type="audio/ogg">
</audio>
<audio id="round-start">
<source src="audio/round-start.ogg" type="audio/ogg">
</audio>
<audio id="its-time">
<source src="audio/its-time.ogg" type="audio/ogg">
</audio>
<!-- <div class="alert">Round over, Player 2's Turn</div> -->
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>