-
Notifications
You must be signed in to change notification settings - Fork 33
/
game.html
166 lines (150 loc) · 5.44 KB
/
game.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
162
163
164
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<link
rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="resources/CSS/game.css" />
<link rel="stylesheet" href="resources/CSS/grid.css" />
<!-- favicon code -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<title>Rock Paper Scissors Lizard Spock</title>
</head>
<body>
<header>
<h1 class="roundnumber">LET'S PLAY</h1>
<a href="/game.html"> <button class="btn restart">Restart</button></a>
</header>
<div
class="modal"
id="secModal"
tabindex="-1"
aria-labelledby="exampleModalLabel"
aria-hidden="false"
>
<div class="modal-dialog modal-sm">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h2 class="modal-title w-100 text-center">RESULT</h2>
</div>
<!-- Modal body -->
<div class="modal-body">test</div>
<!-- Modal footer -->
<div class="modal-footer">
<a href="/game.html" class="w-100 text-center">
<button type="button " class="modalRestart">
<span> Restart</span>
</button></a
>
</div>
</div>
</div>
</div>
<section class="details row">
<div class="player-name">PLAYER</div>
<div class="timer">ROUND 1</div>
<div class="bot-name">BOT</div>
<div class="message">MAKE YOUR MOVE</div>
<!-- <button class="btn lock">LOCK CHOICE</button> -->
</section>
<main>
<div
class="modal fade"
id="loadModal"
tabindex="-1"
aria-labelledby="exampleModalLabel"
aria-hidden="false"
data-backdrop="static"
data-keyboard="false"
>
<div class="modal-dialog modal-xl">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h2 class="modal-title w-100 text-center">
Select Number of Rounds
</h2>
</div>
<!-- Modal body -->
<div class="modal-body">
<div class="row">
<label class="col span-1-of-3">
<input type="radio" name="test" value="1" id="roundno" />
<img src="resources/images/one-finger-icon-18-256.png" />
</label>
<label class="col span-1-of-3">
<input
type="radio"
name="test"
value="3"
id="roundno"
checked
/>
<img src="resources/images/three-fingers-icon-18-256.png" />
</label>
<label class="col span-1-of-3">
<input type="radio" name="test" value="5" id="roundno" />
<img src="resources/images/whole-hand-icon-18-256.png " />
</label>
</div>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<!-- <button type="button " class="close btn w-100 text-center " data-dismiss="modal">
RESTART
</button> -->
<button
type="button"
class="close btn w-100 text-center"
id="gotit"
data-dismiss="modal"
>
CONFIRM
</button>
</div>
</div>
</div>
</div>
<section class="left">
<img class="player-pic" src="resources/images/user.png" alt="user" />
</section>
<div class="player-score"><span>0</span></div>
<div class="bot-score"><span>0</span></div>
<section class="right">
<img class="bot-pic" src="resources/images/bot.png" alt="bot" />
</section>
</main>
<!-- <h3>PLAYER MOVE</h3> -->
<footer>
<div class="row choice-img">
<button class="col span-1-of-5 choice rock">
<img src="resources/images/rock.png" alt="rock" />
</button>
<button class="col span-1-of-5 choice paper">
<img src="resources/images/paper.png " alt="paper" />
</button>
<button class="col span-1-of-5 choice scissors">
<img src="resources/images/scissors.png " alt="scissors" />
</button>
<button class="col span-1-of-5 choice lizard">
<img src="resources/images/lizard.png " alt="lizard" />
</button>
<button class="col span-1-of-5 choice spock">
<img src="resources/images/spock.png " alt="spock" />
</button>
</div>
</footer>
<script src="resources/JS/script.js"></script>
</body>
</html>