-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex1.html
47 lines (44 loc) · 1.73 KB
/
index1.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
<!DOCTYPE html>
<html >
<head>
<link rel="stylesheet" type="text/css" href="index1.css">
<title>RockPaperScissor</title>
</head>
<body onload="CheckPlayerInfo()";>
<audio src="Gamesong.mp3" autoplay class="song">
</audio>
<!-- PC & BOYS ICON For Rock -->
<img src="pc.png" width="30px" height="30px" alt="" class="pcicon_R">
<img src="boy.jpg" width="30px" height="30px" alt="" class="usericon_R">
<!-- PC & BOYS ICON For Paper -->
<img src="pc.png" width="30px" height="30px" alt="" class="pcicon_P">
<img src="boy.jpg" width="30px" height="30px" alt="" class="usericon_P">
<!-- PC & BOYS ICON For Scissor -->
<img src="pc.png" width="30px" height="30px" alt="" class="pcicon_S">
<img src="boy.jpg" width="30px" height="30px" alt="" class="usericon_S">
<!-- Volume Button -->
<img src="RPSon.png" class="volumebutton" alt="" onclick="ChangeStateOfSong()";>
<!-- OPTIONS -->
<div class="Options">
<img src="rock.jpg" class="rock" alt="" onclick="choserock()";>
<img src="paper.jpg" class="paper" alt="" onclick="chosepaper()";>
<img src="scissor.jpg" class="scissor" alt="" onclick="chosescissor()";>
</div>
<!-- PLAYERS -->
<div class="Players">
<div><img src="boy.jpg" class="user" alt="">
<span id="userscore"><img src="zero.jpg" class="scoreofuser"></span>
</div>
<!-- RESET BUTTON -->
<div ><img src="restart.jpg" class="reset" alt="" onclick="resetall()";></div>
<!-- COMPUTER -->
<div><img src="pc.png" class="computer">
<span id="pcscore"><img src="zero.jpg" alt="" class="scoreofpc"></span>
</div>
</div>
<!-- USER VS PC -->
<div class="footer">
<div class="playersname">Playing....</div></div>
<script type="text/javascript" src="index.js"></script>
</body>
</html>