-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (67 loc) · 2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="index.js" defer></script>
<link rel="stylesheet" href="styles.css" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="./assets/favicon/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="./assets/favicon/favicon-16x16.png"
/>
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<title>Rock Paper Scissors</title>
</head>
<body>
<div class="header">
<h1 class="title">Rock Paper Scissors</h1>
</div>
<main class="main">
<h2>3 Weapons | 5 Points | 2 Destinies</h2>
<!-- <h3>Choose your Weapon:</h3> -->
<div class="choiceBtn">
<button id="0" title="Rock">✊</button>
<button id="1" title="Paper">✋</button>
<button id="2" title="Scissors">✌️</button>
</div>
<div class="scorePanel">
<div class="playerLabel">
<span id="yourLabel"> Your Score:</span>
<span id="enemyLabel">Enemy Score:</span>
</div>
<div class="scoreLabel">
<span id="playerScore">0</span>
<span id="computerScore">0</span>
</div>
</div>
<div class="resultPanel">
<div id="resultLabel">Results:</div>
<div class="turnLabel">
<div id="turnResult">
Waiting for your move . .
<img
src="./images/hourglass2.gif"
alt="hourglass"
style="width: 7%"
/>
</div>
<div id="roundResult"></div>
</div>
</div>
</main>
<button id="restartBtn">Restart Game</button>
<footer class="footer">
Copyright © Tan Jin Yi 2022 <br />
Assets permitted for use with licenses.
</footer>
</body>
</html>