-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
112 lines (111 loc) · 3.66 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
<!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" />
<title>Rock, paper, scissors, lizard, spock - the Game!</title>
<link rel="stylesheet" href="style/main.css" />
</head>
<body>
<nav>
<div class="playerResult">
Player
<div class="playerPoints">
<span class="point"></span>
<span class="point"></span>
<span class="point"></span>
<span class="point"></span>
<span class="point"></span>
</div>
</div>
<div class="centerResult">
<div class="timeAndScore">
<div><span>0</span>:<span>0</span></div>
<div class="timer">--:--</div>
</div>
<div class="rules pc">HOW TO PLAY</div>
<div class="rules mobile">RULES</div>
</div>
<div class="aiResult">
Sheldon
<div class="aiPoints">
<span class="point"></span>
<span class="point"></span>
<span class="point"></span>
<span class="point"></span>
<span class="point"></span>
</div>
</div>
</nav>
<main class="container">
<div class="playerSide">
<div class="playerOption poHover rock" name="rock"></div>
<div class="playerOption poHover paper" name="paper"></div>
<div class="playerOption poHover scissors" name="scissors"></div>
<div class="playerOption poHover lizard" name="lizard"></div>
<div class="playerOption poHover spock" name="spock"></div>
</div>
<div class="middleArea">
<div class="status">BAZINGA!</div>
<div class="pc vs">VS</div>
<div class="buttons">
<button class="restart"><img src="./images/reset.png" /></button
><button class="start"><img src="./images/play.png" /></button>
</div>
</div>
<div class="aiSide"><div class="aiOption"></div></div>
</main>
<footer>
<div class="gameName">
<span class="longFooter"
>Rock, paper, scissors, lizard, spock - the Game!</span
>
<span class="shortFooter">RPSLS - the Game!</span>
</div>
<div class="createdBy">RM Designs</div>
</footer>
<div class="finalResult hide">
<div class="finalResultLeft">
<button class="closingX">X</button>
<h1>Gratulacje!</h1>
<div>
<div class="resultPhrase"></div>
<div class="howFast">How long was the game?<span></span></div>
</div>
<p class="randomQuote"></p>
<button class="reset">
<img src="./images/reset.png" />Play again!
</button>
</div>
<div class="finalResultRight"></div>
</div>
<div class="howToPlay hide">
<button class="closingX">X</button>
<div class="howToPlayLeft">
<span>How to play RPSLS?</span>
<ol>
<li>Choose your option.</li>
<li>Click the green button.</li>
<li>Try to win!</li>
</ol>
</div>
<div class="youtubeFrame">
<iframe
width="100%"
height="100%"
src="https://www.youtube.com/embed/x5Q6-wMx-K8"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
</div>
</div>
<div class="overlay hide"></div>
<div class="pop"></div>
<script src="./script/game.js"></script>
<script src="./script/options.js"></script>
<script src="./script/ai.js"></script>
</body>
</html>