-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
67 lines (60 loc) · 1.94 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>URL Hunter!</title>
<script type="module" src="urlHunter.js"></script>
<link rel="stylesheet" href="style.css" />
</head>
<body id="home">
<h1>URL Hunter!</h1>
<div>An experimental game using the URL bar as the game screen.</div>
<div class="safari-warning">
<h2>Sorry Safari User</h2>
<div>
Safari doesn't show the full url in the URL bar, so this game won't
work. To play try using Chrome or Firefox.
</div>
</div>
<div class="instructions">
<h2>How to play?</h2>
<div>
Look up at the URL bar! You are the <strong>O</strong>! You are trying
to hunt the <strong>a</strong>"s. Use the <strong>left</strong> and
<strong>right</strong> keys to move. When you are over an
<strong>a</strong> press <strong>spacebar</strong> to shoot!
</div>
<div class="upsell">
You should
<a
href="https://twitter.com/probablycorey"
class="twitter-follow-button"
data-show-count="false"
data-size="large"
>Follow @probablycorey</a
>
<script>
!(function (d, s, id) {
var js,
fjs = d.getElementsByTagName(s)[0],
p = /^http:/.test(d.location) ? "http" : "https"
if (!d.getElementById(id)) {
js = d.createElement(s)
js.id = id
js.src = p + "://platform.twitter.com/widgets.js"
fjs.parentNode.insertBefore(js, fjs)
}
})(document, "script", "twitter-wjs")
</script>
on Twitter because everyone else does.
</div>
</div>
<div class="small">
<a href="https://github.com/probablycorey/url-hunter" target="_blank"
>code</a
>
|
<a href="http://probablycorey.com" target="_blank">about corey</a>
</div>
</body>
</html>