-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.html
67 lines (47 loc) · 1.68 KB
/
project.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
67
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<link rel= "stylesheet" href= "style.css">
<script src="https://code.jquery.com/jquery-1.10.2.js"></script>
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script src= "https://cdnjs.cloudflare.com/ajax/libs/jquery.spritely/0.6.8/jquery.spritely.min.js"></script>
<script src ="index.js"></script>
<title></title>
</head>
<body>
<h1> Boxing</h1>
<div id="slider">
<input id="slide" type="range" min="-100" max="100" step="5" value="0" disabled />
</div>
<div class="game">
<div class="health">
<p id="player1Health">[score]</p>
<p id="player2Health"> [player2score] </p>
</div>
<div class="fighters">
<!-- Boxer One -->
<div class="boxer-one-container">
<div class="boxer" id="boxer1Idle"></div>
<div class="boxer" id="boxer1Punch"></div>
<div class="boxer" id="boxer1Victory"></div>
<div class="boxer" id="boxer1Hit"></div>
<div class="boxer" id="boxer1Loss"></div>
</div>
<!-- Boxer Two -->
<div class="boxer-two-container">
<div class="boxer" id="boxer2Idle"></div>
<div class="boxer" id="boxer2Punch"></div>
<div class="boxer" id="boxer2Victory"></div>
<div class="boxer" id="boxer2Hit"></div>
<div class="boxer" id="boxer2Loss"></div>
</div>
</div>
</div>
<div id="boxer"></div>
<div id="boxer"></div>
<div class= "welcome">
<p> Let's get ready to rumble!!! Player 1 press A to punch. Player 2 press L to punch. </p>
<button id = "start"> start </button>
</div>
</body>
</html>