-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhobbitgfx.html
40 lines (38 loc) · 1.07 KB
/
hobbitgfx.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
<html>
<head>
<title>The Hobbit graphics engine in Javascript</title>
</head>
<body onload="run(0);">
<h1>The Hobbit graphics engine in Javascript</h1>
<select name="sel1"
onchange="run(this.selectedIndex);">
<option>Tunnel like hall</option>
<option>Great river</option>
<option>Trolls' path</option>
<option>Narrow place</option>
<option>Dragon's desolation</option>
<option>Straight smooth passage</option>
<option>Dale valley</option>
<option>Trolls' cave</option>
<option>Forest gate</option>
<option>Lake town</option>
<option>Goblins' dungeon</option>
<option>Dark dungeon</option>
<option>Trolls' clearing</option>
<option>Elvish clearing</option>
<option>Lonelands</option>
<option>Elvenking's cellar</option>
<option>Goblins' big cavern</option>
<option>Gloomy bewitched place</option>
<option>Running river</option>
<option>Lower halls</option>
<option>Spider place</option>
<option>Front gate</option>
</select>
<p>
<canvas id="gfx" width="256" height="128"
style="border:16px solid #000000;">
</canvas>
<script src="hobbitgfx.js">Script? What script?</script>
</body>
</html>