-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (79 loc) · 2.78 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
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rock, Paper, Scissors</title>
<link rel="stylesheet/less" type="text/css" href="styles.less" />
<!-- <link rel="stylesheet/less" type="text/css" href="backgrounds.less"> -->
<script src="https://unpkg.com/typeit@8.0.1/dist/index.umd.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.12.2/less.min.js"></script>
</head>
<body>
<h1>Rock, Paper, Scissors</h1>
<p id="computer-text"></p>
<section class="opponents-container">
<div class="human-container">
<p class="points" id="human-points">0</p>
<img src="images/human.png" alt="human" id="human-img" />
</div>
<p id="VS">vs</p>
<div class="computer-container">
<p class="points" id="computer-points">0</p>
<img src="images/Computer2.png" alt="computer" id="computer-image" />
<a
href="https://www.vecteezy.com/free-png/old-monitor"
class="attributions"
>Old Monitor PNGs by Vecteezy</a
>
</div>
</section>
<section class="yn-btns hidden">
<button id="yes">Yes</button>
<button id="no">No</button>
</section>
<section id="choices-container" class="hidden">
<div class="rock-img-container">
<img src="images/rock.png" alt="rock" class="choices" id="rock" />
<a href="https://www.vecteezy.com/free-png/rock" class="attributions">
Rock PNGs by Vecteezy
</a>
</div>
<div class="paper-img-container">
<img src="images/paper.png" alt="paper" class="choices" id="paper" />
<a href="https://www.vecteezy.com/free-png/paper" class="attributions"
>Paper PNGs by Vecteezy</a
>
</div>
<div class="scissors-img-container">
<img
src="images/scissors.png"
alt="scissors"
class="choices"
id="scissors"
/>
<a
href="https://www.vecteezy.com/free-png/scissors"
class="attributions"
>Scissors PNGs by Vecteezy</a
>
</div>
<script src="js/options.js"></script>
</section>
<section class="eg-btn hidden">
<button id="endgame">End Game</button>
</section>
<section class="pa-btn hidden">
<button id="playagain">Play Again?</button>
</section>
<script src="js/btns.js"></script>
<script src="js/roundTracker.js"></script>
<script src="js/scores.js"></script>
<script src="js/gameLogic.js"></script>
<script src="js/reactions.js"></script>
</body>
</html>
<!--(Reaction to game)
Let's keep going shall well?
Make your laughable move
Have the three choices but below, have an "End game" button-->