-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
204 lines (181 loc) · 8.29 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, user-scalable=no, maximum-scale=1.0, initial-scale=1.0">
<title>
Kween's Cup
</title>
<script src="./scripts/script.js" defer></script>
<script src="./scripts/options-modal.js" defer></script>
<script src="./scripts/rules-modal.js" defer></script>
<script src="./scripts/instructions-modal.js" defer></script>
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
</head>
<body>
<main>
<div class="header">
<header>KWEEN'S CUP</header>
</div>
<nav>
<ul class="navbar">
<button class="instructions-btn nav-btn">Instructions</button>
<button class="options-btn nav-btn">Options</button>
<button class="restart-btn nav-btn">Restart</button>
</ul>
</nav>
<div class="card-container">
<div class="card-display">
<div class="suit-number-wrapper">
<div class="suit-number"></div>
</div>
<div class="card-rule">
Tap to begin.
</div>
</div>
</div>
<div class="options modal">
<div class="options-wrapper">
<div class="close-btn-wrapper">
<button class="close-btn">X</button>
</div>
<h2>OPTIONS</h2>
<button class="add-remove-players-btn options-btns">
Set Players & Drink-Count
</button>
<button class="set-drink-limit-btn options-btns">
Set Drink Limit
</button>
<button class="set-rules-btn options-btns">
Change the Rules
</button>
</div>
</div>
<div class="rules modal">
<div class="rules-wrapper">
<div class="close-btn-wrapper">
<button class="close-btn">X</button>
</div>
<h2>RULES</h2>
<h4>(tap title / content to edit)</h4>
<ul class="rules-list">
</ul>
</div>
</div>
<div class="player-list modal">
<div class="player-list-wrapper">
<div class="close-btn-wrapper">
<button class="close-btn">X</button>
</div>
<h2>PLAYERS</h2>
<h4>(tap name / drink-count to edit)</h4>
<div class="add-remove-player-section">
<div class="add-remove-btns">
<button class="add-player-btn">+</button>
<button class="remove-player-btn">-</button>
</div>
<div class="drink-counter">
<h3>Drank</h3>
</div>
</div>
<ul class="players-list">
</ul>
</div>
</div>
<div class="drink-limit modal">
<div class="drink-limit-wrapper">
<div class="close-btn-wrapper">
<button class="close-btn">X</button>
</div>
<h2>Drink Limit</h2>
<div class="drink-limit-field">
<input class="drink-limit-input" type ="number" value="0" min="0" max="999">
<p class="invalid-message"></p>
</div>
</div>
</div>
<div class="instructions modal">
<div class="instructions-wrapper">
<div class="close-btn-wrapper">
<button class="close-btn">X</button>
</div>
<h2>INSTRUCTIONS</h2>
<div class="instructions-content">
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/add-player.png">
<p class="instructions-paragraph">Tap on Options to add players.</p>
</div>
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/name-players.png">
<p class="instructions-paragraph">Put your names down.</p>
</div>
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/drink-limit.png">
<p class="instructions-paragraph">If you so wish, set a drink limit. <br><br> (How responsible of you.)</p>
</div>
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/click-to-begin.png">
<p class="instructions-paragraph">Tap to flip the card and start the game.</p>
</div>
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/card-rule.png">
<p class="instructions-paragraph">Follow the Rules with your life. <br><br> Drink when ordered to. <br><br> Keep track of your alcohol addiction (or not).</p>
</div>
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/drink-count-options.png">
<p class="instructions-paragraph">You can keep track of and change everyone's drink-count back in Options.</p>
</div>
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/add-drink-count.png">
<p class="instructions-paragraph">Remember that drink limit you set earlier? <br><br> Don't worry, we only <i>remind</i> you of it when someone reaches it.</p>
</div>
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/change-the-rules.png">
<p class="instructions-paragraph">In Options, you can change the Rules to whatever you like. <br><br> Make enemies at your own peril.</p>
</div>
<div class=instructions-article>
<img class="instructions-image" src="instructions-images/drink-responsibly.jpg">
<p class="instructions-paragraph">That is all. <br><br> Drink Responsibly. </p>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="current-player-display">
<div class="current-player-name">
</div>
<div class="current-player-drink-count">
</div>
<div class="footer-btns-wrapper">
<button class="footer-add-btn">+</button>
<button class="footer-remove-btn">-</button>
</div>
</div>
<div class="next-player-display">
<div class="next-player-name">
</div>
<div class="next-player-drink-count">
</div>
<div class="footer-btns-wrapper">
<button class="footer-add-btn">+</button>
<button class="footer-remove-btn">-</button>
</div>
</div>
<div class="footer-message"></div>
</footer>
<div class="warning modal">
<div class="warning-wrapper">
<div class="close-btn-wrapper">
<button class="close-btn">X</button>
</div>
<p>This is merely to remind you that one or more of you have reached the drink limit. <br><br> You are old enough to make your own decisions. <br><br> Peace. </p>
</div>
</div>
<div class="overlay"></div>
</main>
<div class="background-img-overlay"></div>
</body>
</html>