-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
45 lines (39 loc) · 1.33 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
<!DOCTYPE html>
<meta charset="utf-8">
<html>
<head>
<title>Lantern: Exploring Zork</title>
<link rel="stylesheet" type="text/css" href="src/css/style.css">
<!-- <link href="http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet"> -->
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="src/js/library.js"></script>
<script src="src/js/graph.js"></script>
<script src="src/js/map.js"></script>
</head>
<body>
<div class="container">
<header>
<h3>Zork: The Great Underground Empire</h3>
<p>
Explore the map by clicking on a room to see where its exits lead -
hover over a room to see its description, if available.
</p>
<p>
Drag map with the mouse, and zoom in/out with the mouse wheel.
See the <a href="https://github.com/bburns/Lantern">project page</a> for more information.
</p>
</header>
<div id="map">
<!-- svg will attach here -->
</div>
<div id="sidebar">
<h4 id="room-name"></h4>
<p id="room-description"></p>
</div>
<footer>
</footer>
</div>
<script src="src/js/lantern.js"></script>
</body>
</html>