-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (45 loc) · 1.55 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Rock Paper Scissors</title>
<link rel="stylesheet" href="css/main.css"/>
</head>
<body>
<h1>Rock Paper Scissors</h1>
<div id = "main">
<div id="textWL"></div>
<div id="newGame">Do you want to start a new game? <br/>
<span>Yes</span> / <span>No</span></div>
<div id="game">
<div id="player">
<div class ="meter" id="playerLife"><span id="playerMeter"></span></div>
<div id="playerHand">
<img src="./img/rock.png" alt="player" id="playerImg"></img>
</div>
<div id="playerButton">
<img src="./img/rock_button.png" alt="rock" id="rockButton"></img>
<img src="./img/paper_button.png" alt="paper" id="paperButton"></img>
<img src="./img/scissors_button.png" alt="scissors" id="scissorsButton"></img>
</div>
</div>
<div id="cpu">
<div class="meter red" id="cpuLife"><span id="cpuMeter"></span></div>
<div id="cpuHand">
<img src="./img/rock.png" alt="player" id="cpuImg"></img>
</div>
<div id="newBgDiv">
<img src="./img/refresh_bg.png" alt="New BG" id="newBg">
</div>
</div>
</div>
</div>
<audio id="gameWin" src="fx/mk_laugh.mp3"></audio>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="js/ion.sound.min.js"></script>
<script src="js/rpsGame.js"></script>
<script src="js/rpsGame.logic.js"></script>
<script src="js/rpsGame.ui.js"></script>
<script src="js/rpsGame.play.js"></script>
</body>
</html>