-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (119 loc) · 5.11 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- link of website Icon -->
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon-32x32.png">
<!-- Website title -->
<title>Rock, Paper, Scissors, lizard, spock</title>
<!-- CSS links -->
<link rel="stylesheet" href="./css/normalize.css">
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/modes-page-style.css">
<!-- JavaScript links -->
<script src="./javascript/main.js" defer></script>
<!-- Google Font "Barlow Semi Condensed" -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&display=swap" rel="stylesheet">
</head>
<body>
<!-- Start modes page -->
<div class="modes-page container flex-on-column">
<p class="choose-mode color-white" fw-700>Choose your mode</p>
<div class="modes">
<div class="regular-mode | flex-on-column">
<button class="mode-type">REGULAR  MODE</button><!--   == " " -->
<img src="./images/image-rules.svg" alt="">
</div>
<div class="monster-mode | flex-on-column">
<button class="mode-type">MONSTER  MODE</button>
<img src="./images/image-rules-bonus.svg" alt="">
</div>
</div>
</div>
<!-- End modes page -->
<!-- Start game page -->
<div class="game-page container flex-on-column">
<!-- Start header -->
<header class="header | flex-on-row | margin-block">
<img src="" alt="">
<div class="score-box">
<h5 class="color-score">SCORE</h5>
<p class="score-box__number | color-text | fw-700"></p>
</div>
</header>
<!-- End Header -->
<!-- Start game rules page -->
<div class="game-rules">
<div class="game-rules-card">
<span class="flex-on-row">
<h3 class="game-rules-card__label | color-text fw-700">RULES</h3>
<img class="game-rules-card__close" src="./images/icon-close.svg" alt="close button">
</span>
<img class="game-rules-card__img" src="./images/image-rules-bonus.svg" alt="">
<img class="game-rules-card__close" aria-hidden="true" src="./images/icon-close.svg" alt="close button">
</div>
<div class="game-rules--mask"></div>
</div>
<!-- End game rules page -->
</div>
<!-- End game page -->
<!-- Start template of monster mode hand emotes -->
<template id="choose-hand-emote-monster-mode">
<main class="main1">
<section class="main1__choices-hands | margin-block" label="monster mode choices">
<img src="./images/bg-pentagon.svg" alt="" tabindex="-1">
<div class="scissors pattern"></div>
<div class="paper pattern"></div>
<div class="rock pattern"></div>
<div class="lizard pattern"></div>
<div class="spock pattern"></div>
</section>
</main>
</template>
<!-- End template of monster mode hand emotes -->
<!-- Start template of regular mode hand emotes -->
<template id="choose-hand-emote-regular-mode">
<main class="main1">
<section class="main1__choices-hands | margin-block" label="monster mode choices">
<img src="./images/bg-triangle.svg" alt="" tabindex="-1">
<div class="scissors pattern regularMode"></div>
<div class="paper pattern regularMode"></div>
<div class="rock pattern regularMode"></div>
</section>
</main>
</template>
<!-- End template of regular mode hand emotes -->
<!-- Start template page of showing both choices (user and computer) -->
<template id="show-both-choices" >
<main class="main2 | flex-on-column">
<section class="main2__block-container flex-on-row">
<section class="user-choice | flex-on-column">
<p class="fw-600">YOU PICKED</p>
<div class="pattern lizard"></div>
</section>
<section class="computer-choice | flex-on-column">
<p class="fw-600">THE HOUSE PICKED</p>
<div class="computer-choice__img | shadow-emote pattern"></div>
</section>
</section>
</main>
</template>
<!-- End template page of showing both choices (user and computer) -->
<!-- Start template page of showing the game result (win or lose) -->
<template id="game-result">
<div class="result_playAgain | flex-on-column" aria-hidden="true">
<p class="result"></p>
<button class="playAgain | color-text">PLAY AGAIN</button>
</div>
</template>
<!-- End template page of showing the game result (win or lose) -->
<!-- Start template of rules button -->
<template id="button-template">
<button class="rules-button | button" onclick="openRules()">RULES</button>
</template>
<!-- End template of rules button -->
</body>
</html>