-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
161 lines (151 loc) · 6.28 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html>
<head>
<link rel="apple-touch-icon" sizes="57x57" href="/images/ico/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/images/ico/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/images/ico/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/images/ico/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/images/ico/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/images/ico/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/images/ico/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/images/ico/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/images/ico/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/images/ico/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/ico/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/images/ico/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/ico/favicon-16x16.png">
<link rel="manifest" href="/images/ico/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/images/ico/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<title>Rock Paper Scissors Lizard Spock</title>
<link rel="stylesheet" href="/assets/main.css">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500&display=swap" rel="stylesheet">
</head>
<body>
<div id="rules">
<div class="main--wrapper">
<div class="main-grid">
<div>
<img src="/images/howToPlay.png" alt="how To Play Rock Paper Scissors Lizard Spock">
</div>
<div class="howToPlay">
<h3> Rules The rules are pretty simple which you could even memorize 😋</h3>
<ul>
<li>
Scissors cuts Paper
</li>
<li>
Paper covers Rock
</li>
<li>
Rock crushes Lizard
</li>
<li>
Lizard poisons Spock
</li>
<li>
Spock smashes Scissors
</li>
<li>
Scissors decapitates Lizard
</li>
<li>
Lizard eats Paper
</li>
<li>
Paper disproves Spock
</li>
<li>
Spock vaporizes Rock
</li>
<li>
(and as it always has) Rock crushes Scissors
</li>
</ul>
<footer>
<h6>Inspired By <span>🙏</span></h6>
<p>The Big Bang Theory
<a href="https://the-big-bang-theory.com/rock-paper-scissors-lizard-spock/" target="_blank">Sheldon</a>
</p>
<p>Project By Brad Traversy on
<a href="https://codepen.io/bradtraversy/pen/wLgPzr" target="_blank">Code Pen</a>
</p>
</footer>
</div>
</div>
</div>
</div>
<section class="main--wrapper side--padding">
<header>
<h1>Rock Paper Scissors Lizard Spock</h1>
</header>
</section>
<section class="main--wrapper side--padding scoreTotal">
<div class="main-grid center">
<div>
<h1>
The Computer
</h1>
<span id="computer">0</span>
</div>
<div>
<h1>
You!
</h1>
<span id="you">0</span>
</div>
</div>
</section>
<section class="main--wrapper side--padding">
<div class="main-grid">
<div class="computer--options">
<div class="computer--output">
<h5><span class="p"></span> </h5>
</div>
<div class="inner-computer--option">
<span class="rock"></span>
<span class="paper"></span>
<span class="scissor"></span>
<span class="lizard"></span>
<span class="spock"></span>
</div>
</div>
<div class="player--options">
<div class="player--output">
<h5><span class="h"> </span> </h5>
</div>
<div class="inner-player--option">
<span class="btn" id="rock"></span>
<span class="btn" id="paper"></span>
<span class="btn" id="scissor"></span>
<span class="btn" id="lizard"></span>
<span class="btn" id="spock"></span>
</div>
</div>
</div>
</section>
<section>
<section class="center">
<button id="showRules" class="btn-main"> What's the Rules </button>
<button class="btn-main" id="reset"> reset</button>
</section>
</section>
<section class="endMatch">
<div class="popUP center">
<header>
<span></span>
</header>
<div class="card-content">
<h4>You Won!</h4>
<p>
Scissors cuts Paper
</p>
</div>
</div>
</section>
<p class="o"></p>
<!-- <div> score collector </div> -->
<script src="/assets/main.js"></script>
</body>
</html>