-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
51 lines (51 loc) · 2.09 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
<!doctype html>
<html>
<head>
<title>Go Dungeon Generator</title>
<link rel='stylesheet' href='style.css' type='text/css' />
<link rel="stylesheet" href="https://code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css">
</head>
<body>
<table>
<tr>
<td>
<input id="generateButton" type="button" value="Generate Dungeon">
<div class="option_container">
<div id="dungeon_width_label" class="label"></div>
<div id="dungeon_width_slider" class="slider"></div>
</div>
<div class="option_container">
<div id="dungeon_height_label" class="label"></div>
<div id="dungeon_height_slider" class="slider"></div>
</div>
<div class="option_container">
<div id="room_attempts_label" class="label"></div>
<div id="room_attempts_slider" class="slider"></div>
</div>
<div class="option_container">
<div id="min_room_size_label" class="label"></div>
<div id="min_room_size_slider" class="slider"></div>
</div>
<div class="option_container">
<div id="max_room_size_label" class="label"></div>
<div id="max_room_size_slider" class="slider"></div>
</div>
<div class="option_container">
<div id="pixel_size_label" class="label"></div>
<div id="pixel_size_slider" class="slider"></div>
</div>
<div class="option_container">
<div id="seed_label" class="label">Seed:</div>
<input id="seed" type="text" />
</div>
</td>
<td>
<img id="dungeonImage" src="/generate/?time=1420268730447&dungeonWidth=50&dungeonHeight=50&roomAttempts=200&minRoomSize=5&maxRoomSize=15&pixelSize=10">
</td>
</tr>
</table>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.js"></script>
<script type="text/javascript" src="https://code.jquery.com/ui/1.11.2/jquery-ui.min.js"></script>
<script type="text/javascript" src="script.js"></script>
</body>
</html>