-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathindex.html
276 lines (236 loc) · 9.01 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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href='https://fonts.googleapis.com/css?family=Playfair+Display:700italic,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/reset.css"> <!-- CSS reset -->
<link rel="stylesheet" href="css/style2.css"> <!-- Resource style -->
<script src="js/modernizr.js"></script> <!-- Modernizr -->
<title>Challenge Bit</title>
</head>
<body>
<header>
<!-- <a href="#0" class="cd-logo"><img src="img/cd-logo.svg"></a> -->
<button class="cd-nav-trigger">Menu<span aria-hidden="true" class="cd-icon"></span></button>
</header>
<nav class="cd-primary-nav">
<ul>
<li class="cd-label">The Team:</li>
<p>Big thanks to Villiers Park Team (our tutors: Billy Mayor & Paul Cook and also Sally Brady) for allowing us to work on this fun project. This intense residential course gave us a great insight into Computer Science.
Our team: Robert, Tom, Ibrahim, Afolabi, Ansh<br>
For more information please visit our <a href="https://github.com/CodeGuild-co/challenge-bit">GitHub page</a><br><p>Click here for our <a href="/2017-03-30PBitLog.md"> Activity Log</a></p>
</p>
</ul>
</nav> <!-- .cd-primary-nav -->
<div class="cd-projects-container">
<ul>
<li class="single-project">
<div class="cd-title">
<h2>Black Jack</h2>
</div> <!-- .cd-title -->
<div class="cd-project-info">
<button class="cd-scroll">Scroll down</button>
<div class="content-wrapper">
<p>
In this challenge,
</p>
<p>
You must beat the dealer at a high stakes game of Black Jack (BJ)
</p>
<p>
<ul>
<br>Blackjack Instructions
<p> </p>
<li>1) You and the Dealer, D, both get 2 cards to start with.</li>
<li>2) To hit (pick another card), press A+B together.</li>
<li>3) To miss (keep your cards and end your turn), shake the micro:bit.</li>
<li>4) The dealer will do the same.</li>
<li>5) Whoever gets closest to 21 wins. 21, Blackjack, is an automatic win.</li>
</p>
<a href="/puzzles/BJ/microbit-Blackjack.hex">Download 'BJ'!</a>
</div>
</div> <!-- .cd-project-info -->
</li>
<li class="single-project">
<div class="cd-title">
<h2>Higher or Lower</h2>
</div> <!-- .cd-title -->
<div class="cd-project-info">
<button class="cd-scroll">Scroll down</button>
<div class="content-wrapper">
<p>
In this challenge,
</p>
<p>
You need to guess whether the next number will be higher or lower than the current one.
</p>
<p>
<br>How to play:
The game will start as soon as the MicroBit is connected to power.
A number will scroll across the LEDs and then will stay on the LEDS. If there is a zero, this is actually 10 but the one doesn't fit on the grid!
To choose higher or lower you use the accelerometer.
To choose higher tilt the left side of the MicroBit downwards.
To choose lower tilt the right side of the Microbit downwards.
Once titled return the MicroBit so that it's level.
If you were correct, a tick will show and then another number and so on.
If you were incorrect, a cross will show and then your score will scroll across the screen.
Once the game ends it will restart.
</p><p>
<a href="/puzzles/HigherorLower/HigherorLowerAccelerometer.hex">Download 'Higher or Lower'!</a></p>
</div>
</div> <!-- .cd-project-info -->
</li>
<li class="single-project">
<div class="cd-title">
<h2>Dodge</h2>
</div> <!-- .cd-title -->
<div class="cd-project-info">
<button class="cd-scroll">Scroll down</button>
<div class="content-wrapper">
<p>
In this challenge,
</p>
<p>
You need to avoid the falling blocks by guiding your flashing dot through the spaces.
</p>
<ol>
<li><strong>How to play:</strong></li><br>
<li>Press A and B to start</li>
<li>Press A to move left</li>
<li>Press B to move right</li>
<li>Avoid the falling bricks on the screen.</li>
</ol><br><p>
<a href="/puzzles/Dodge/DodgeChallenge.hex">Download 'Dodge'!</a></p>
</div>
</div> <!-- .cd-project-info -->
</li>
<li class="single-project">
<div class="cd-title">
<h2>Maze</h2>
</div> <!-- .cd-title -->
<div class="cd-project-info">
<button class="cd-scroll">Scroll down</button>
<div class="content-wrapper">
<p>
In this challenge,
</p>
<p>
You control a flashing dot and guide it through a maze by tilting your micro bit. When you reach the hidden exit, you progress to the next level. If you pass level 3, you WIN!
</p>
<p>
<ul>
<br>How to play:
<li> A and B to start</li>
<li>Tilt forward to move up</li>
<li>Tilt backwards to move down</li>
<li>Tilt right to move right</li>
<li>Tilt left to move left</li>
<li>A and B to progress to the next level when a tick appers on the LED screen</li>
</ul>
</p>
<br><p>
<a href="/puzzles/Maze/Maze.hex">Download 'Maze'!</a></p>
</div>
</div> <!-- .cd-project-info -->
</li>
<li class="single-project">
<div class="cd-title">
<h2>Letter Game?</h2>
</div> <!-- .cd-title -->
<div class="cd-project-info">
<button class="cd-scroll">Scroll down</button>
<div class="content-wrapper">
<p>
In this challenge,
</p>
<p>
You have to follow the screen and do exactly what it says.
</p>
<p>
Instructions:
The game will start the second the power is connected to the MicroBit.
3 characters will scroll from right to left across the LEDs; using the key below you need to input these characters,in order, back to the MicroBit.
The game uses the MicroBit's accelerometer and buttons to make 28 different inputs: A-Z, BACKSPACE and FINISHED.
It may take a few tries to get used to the input system but when you see the character appear you should return the MicroBit to a level position.
Tilting the top of the MicroBit downwards is UP,
Tilting the bottom downwards is DOWN,
Tilting the right downwards is RIGHT,
Tiliting the left downwards is LEFT.
When pressing the buttons, press down and release, and when pressing them twice in a row make sure not to be too fast. However you will need to press for the second time in about less than a second apart to the first.
If you make a mistake when inputting you can use Backspace to remove the latest character.
When you have inputted your characters, use Finished and then the MicroBit will either show a tick (correct) or a cross (incorrect)
Then 3 more characters will scroll across the screen and it repeats.
</p>
<p>
Key: [Character] [Direction] [Button(s)]
U=Up
L=Left
R=Right
D=Down
AB= A and B at the same time
AA or BB= Double press A or B
ABAB= Double press AB
</p>
<p>
A U, means the character 'A' is produced if you tilt the top of the MicroBit downwards.
B U A, mean the character 'B' is produced if you tilt the top of the MicroBit downward AND press button A.
etc...
A U,
B U A,
C U B,
D U AB,
E L,
F L A,
G L B,
H L AB,
I R ,
J R A,
K R B,
L R AB,
M D ,
N D A,
O D B,
P D AB,
Q U AA,
R U BB,
S L AA,
T L BB,
U R AA,
V R BB,
W D AA,
X D BB,
Y U ABAB,
Z D ABAB,
FIN R ABAB,
BACK L ABAB,
</p>
<p><a href="/puzzles/LetterGame/LettersGame.hex">Download 'Letter Game'!</a></p>
</div>
</div> <!-- .cd-project-info -->
</li>
<li class="single-project">
<div class="cd-title">
<h2>Riddles</h2>
</div> <!-- .cd-title -->
<div class="cd-project-info">
<button class="cd-scroll">Scroll down</button>
<div class="content-wrapper">
<p>
In this challenge,
</p><p>
Two of the hardest Riddles ever composed by the Legendary Riddler have been stolen from the International Archives, and prove yourself as the Elucidator of Riddles!</p><p>
Following some serious extraction and decryption, the hardest Riddles, Riddle1 and Riddle2 respectively, were distributed throughout the Net. Take a look at Riddle1:</p>
<p>"I'm always running but never moving,<br>Dark when alone but lit in exchange,<br>And powerless to looting." <br>--Find the answer with your m:b!</p>
<p>Try shaking your device if you're stuck (on the first 'Ready? Go!' screen) for a hint!</p><p>If you manage to find the answer with your m:b, then hold B to continue onto Riddle2!</p>
<p>Riddle2:<br>"Below a horizon rises a crest,<br>Beyond far hills lie the rest,<br>And I'll be there,<br>Chasing that Sunset."<br>--Find the answer, while pressing A+B together!</p>
<p><a href="/puzzles/Riddles/Riddlez.hex">Download 'Riddles'!</a></p>
</div>
</div> <!-- .cd-project-info -->
</li>
</ul>
</div> <!-- .cd-projects-container -->
<script src="js/jquery-2.1.4.js"></script>
<script src="js/main.js"></script> <!-- Resource jQuery -->
</body>
</html>