-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
204 lines (198 loc) · 10.2 KB
/
index.html
File metadata and controls
204 lines (198 loc) · 10.2 KB
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 lang="en-us">
<head>
<title>Set Game</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:700|Slabo+27px" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/bootstrap.css">
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/normalize.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div class="gameContainer">
<header>
<div class="container">
<div class="page-header">
<h1>Set Card Game</h1>
</div>
<div class="button-container">
<div class="btn-group">
<button class="btn btn-primary instructions-button" type="submit">How to Play</button>
<button class="btn btn-primary examples-button" type="submit
">Examples</button>
</div>
</div>
<div class="instructions">
<p>The object of the game is to identify a SET of 3 cards from 12 cards placed face up in from of you. Each card has four features, which can vary as follows:</p>
<img id="instruction-img" src="img/set-instructions.png" alt="instruction-img">
<p>A SET consists of 3 cards in which each of the cards' features, looked at one-by-one, are the same on each card, or, are different on each card. All of the features must seperately satisfy this rule. In other words: shape must be either the same on all 3 cards, or different on each of the 3 cards; color must be either the same on all 3 cards, or different on each of the 3, etc. Examples see below</p>
</div>
<div class="examples">
<p>For example, the following are SETs:</p>
<img id="example1" src="img/set-example-1.png" alt="example1">
<p>All three cards have the same shape, the same color, the same number of sybols and they all have different shading.</p>
<img id="example2" src="img/set-example-2.png" alt="example2">
<p>All three cards have different shapes, different colors, and different numbers of symbols and they all have the same shading.</p>
<img id="example3" src="img/set-example-3.png" alt="example3">
<p>All three cards have different shapes, different colors, different numbers of symbols and different shading.</p>
</div>
<hr>
<div class="button-container">
<div class="btn-group btn-bottom">
<button class="btn btn-success submit">Submit</button>
<button class="btn btn-default reset">Reset</button>
</div>
</div>
<div class="alert alert-error">
<button type="button" class="close" data-dismiss="alert">×</button>
<h4>Uh-oh!</h4>
<p>The combination you chose is not a set. Try again.</p>
</div>
<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert">×</button>
<h4>Awesome!</h4>
<p>You found a set.</p>
</div>
</div>
</header>
<section class="table">
<div id="0" class="card">
<div class="shape-container">
<div class="red oval blank"></div>
<div class="red oval blank"></div>
</div>
</div>
<div id="1" class="card">
<div class="shape-container">
<div class="green diamond blank"></div>
<div class="green diamond blank"></div>
</div>
</div>
<div id="2" class="card">
<div class="shape-container">
<div class="purple diamond blank"></div>
<div class="purple diamond blank"></div>
</div>
</div>
<div id="3" class="card">
<div class="shape-container">
<div class="purple squiggle full"></div>
<div class="purple squiggle full"></div>
<div class="purple squiggle full"></div>
</div>
</div>
<div id="4" class="card">
<div class="shape-container">
<div class="green squiggle full"></div>
<div class="green squiggle full"></div>
<div class="green squiggle full"></div>
</div>
</div>
<div id="5" class="card">
<div class="shape-container">
<div class="green oval blank"></div>
<div class="green oval blank"></div>
<div class="green oval blank"></div>
</div>
</div>
<div id="6" class="card">
<div class="shape-container">
<div class="purple diamond stripe"></div>
<div class="purple diamond stripe"></div>
</div>
</div>
<div id="7" class="card">
<div class="shape-container">
<div class="green diamond stripe"></div>
</div>
</div>
<div id="8" class="card">
<div class="shape-container">
<div class="red squiggle full"></div>
</div>
</div>
<div id="9" class="card">
<div class="shape-container">
<div class="purple oval stripe"></div>
<div class="purple oval stripe"></div>
</div>
</div>
<div id="10" class="card">
<div class="shape-container">
<div class="red diamond full"></div>
<div class="red diamond full"></div>
<div class="red diamond full"></div>
</div>
</div>
<div id="11" class="card">
<div class="shape-container">
<div class="red diamond blank"></div>
<div class="red diamond blank"></div>
</div>
</div>
</section>
</div>
<footer class="calls-to-action">
<div class="container-footer">
<!-- <div class="row">
<div class="text-center"> -->
<span class="glyphicon glyphicon glyphicon-envelope glyphicon-lg
"></span>
<h2 class="text-center">More Games</h2>
<p>Sign up to become a member and be the first to get updates on new levels of your favorite games.</p>
<p><button class="btn btn-info center-block" data-toggle="modal" data-target="#myModal">Sign Up</button></p>
</div>
</footer>
<div class="modal fade" id="myModal" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Sign Up to Become a Member</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label for="inputEmail">Email address</label>
<input type="email" class="form-control" id="newsletterEmailInput" aria-describedby="emailHelp" placeholder="Enter email">
<small id="emailHelp" class="form-text text-muted">We'll never share your email with anyone else.</small>
</div>
<div class="form-group">
<label for="inputPassword">Password</label>
<input type="password" class="form-control" id="inputPassword" placeholder="Password">
</div>
<fieldset class="form-group">
<legend>Keep in Touch</legend>
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadios1" value="option1" checked>
Yes, I would like to receive the weekly newsletter.
</label>
</div>
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="optionsRadios" id="optionsRadios2" value="option2">
No thanks.
</label>
</fieldset>
<div class="form-group">
<label for="Select1">How did you hear about us?</label>
<select class="form-control" id="exampleSelect1">
<option>Facebook Ad</option>
<option>Instagram Ad</option>
<option>Billboard</option>
<option>Friend</option>
<option>Other</option>
</select>
</div>
</div>
<div class="modal-footer">
<button data-dismiss="modal" class="btn btn-danger">Cancel</button>
<button class="btn btn-primary">Sign me up!</button>
</div>
</div>
</div>
</div>
</body>
<script src="js/jquery-1.12.3.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/index.js"></script>
</html>