-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
40 lines (39 loc) · 1.74 KB
/
index.html
File metadata and controls
40 lines (39 loc) · 1.74 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Snake</title>
<link href='http://fonts.googleapis.com/css?family=Vampiro+One' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Quantico' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="styles/snake.css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/redmond/jquery-ui.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="script/ClientSaveUtility.js"></script>
<script type="text/javascript" src="script/NameUtility.js"></script>
<script type="text/javascript">
$(function(){
$('#continue-button').on('click', function(){
selectSavedName();
});
$('#new-button').on('click', function(){
getNameFromUser();
});
})
</script>
</head>
<body>
<h1>Welcome to Serpent's Quest</h1>
<span id="continue-button" href="snake.html">Continue</span>
<span id="new-button" href="snake.html">New Game</span>
<div id="saved-name-dialog" title="Choose a file" style="display:none;">
<div>Continue with an existing game or click New Game:</div>
<div id="saved-names">
</div>
</div>
<div id="name-dialog" title="Choose a Name" style="display:none;">
<label for="name-input">Name</label>
<input type="text" name="name-input" id="name-input" class="text ui-widget-content ui-corner-all">
</div>
</body>
</html>