-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (44 loc) · 1.34 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Yappy Bird</title>
<style>
body {
background: #3BC1C8;
background-size: auto 200px;
font-family: monospace;
margin: 0;
}
.hud {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.3);
bottom: 20px;
box-shadow: 1p 1px 2px rgba(0, 0, 0, 0.5);
color: #fff;
font-size: 14px;
left: 20px;
line-height: 2;
padding: 15px;
position: absolute;
text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
width: 320px;
}
p {
margin: 0;
}
</style>
</head>
<body>
<a href="https://github.com/nhunzaker/yappy-bird"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<div class="hud">
<p><b>Instructions:</b></p>
<p>
Share your microphone and yell at the screen to make the bird jump!
(you can also cheat with the UP arrow)
</p>
</div>
<canvas width="500" height="400" id="canvas"></canvas>
<script src="bundle.js"></script>
</body>
</html>