-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (130 loc) · 4.04 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
<!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" />
<link rel="stylesheet" href="./style/style.css">
<title>Color Me Uncertain</title>
</head>
<body>
<header>
<h1>Color me... <span>Uncertain</span></h1>
</header>
<section id="lang">
<fieldset>
<div>
<input type="radio" name="lang" id="pt-br" value="pt-br">
<label for="pt-br">PT-BR</label>
</div>
<div>
<input type="radio" name="lang" id="en" value="en" checked>
<label for="en">EN</label>
</div>
</fieldset>
</section>
<main>
<aside id="round-s" class="clear">
<h3>Round Summary:</h3>
<article id="r-summary"></article>
<div>
<button id="next">Next Round</button>
<button id="reset">Reset Game</button>
</div>
</aside>
<aside>
<div id="info">
<h2>Instructions</h2>
<div id="instructions" class="clear">
<p>
<span>Choose the color mode:</span> <ul>
<li>random (aleatory colors) or</li>
<li>
monochromatic
(similar colors);
</li>
</ul> </p>
<p>
<span>Choose the difficulty:</span> <ul>
<li>easy (6 tiles),</li>
<li>medium (8 tiles),</li> <li>hard (12 tiles)...</li>
</ul>
</p>
<p>
And finally <span>start a game
</span> and find, among the tiles on the board, the color that
matches the main one! Things migth get a bit... <span>extreme</span>, if you get enough points
</p>
</p>
</div>
</div>
<div class="ui">
<fieldset>
<legend>Color Mode</legend>
<div>
<input
type="radio"
name="mode"
id="random"
value="random"
/>
<label for="random">Random</label>
</div>
<div>
<input type="radio" name="mode" id="mono" value="mono" checked/>
<label for="mono">Monochromatic</label>
</div>
</fieldset>
<fieldset>
<legend>Choose Difficulty</legend>
<div>
<input
type="radio"
name="difficulty"
id="easy"
value="easy"
checked
/>
<label for="easy">Easy</label>
</div>
<div>
<input
type="radio"
name="difficulty"
id="medium"
value="medium"
/>
<label for="medium">Medium</label>
</div>
<div>
<input type="radio" name="difficulty" id="hard" value="hard" />
<label for="hard">Hard</label>
</div>
<div id="xtrm" class="clear">
<input type="radio" name="difficulty" id="extreme" value="extreme" />
<label for="extreme">Extreme</label>
</div>
</fieldset>
<div>
<button id="start">Start Game</button>
<button id="new" class="clear">New Game</button>
</div>
</div>
<div class="score">
<p class="clear" id="points"></p>
<p class="clear" id="rounds"></p>
</div>
</aside>
<section id="game">
<div id="main-color">
<p id="main"></p>
</div>
<div id="color-options"></div>
</section>
<footer>
<h4>by <a href="https://www.linkedin.com/in/hbler/">Hugo Bler</a></h4>
</footer>
</main>
<script type="module" src="./play.js"></script>
</body>
</html>