-
Notifications
You must be signed in to change notification settings - Fork 0
/
spider.html
executable file
·47 lines (43 loc) · 1.09 KB
/
spider.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Spider Solitaire</title>
<style>
body {
margin: 0;
}
#spiderDiv {
position: relative;
}
#spiderCanvas {
background: green;
}
</style>
</head>
<body>
<div id="spiderDiv" align="center">
<canvas id="spiderCanvas" width="650" height="450">
</canvas>
</div>
<div align="center">
<table>
<tr>
<td>
<input type="button" id="btUndo" value="Undo" onclick="undo()"/>
</td>
<td>
Level:
<select id="selectLvl">
<option value="1">Easy</option>
<option value="2">Medium</option>
<option value="4">Hard</option>
</select>
<input type="button" id="btNewGame" value="New game!" onclick="newGame()"/>
</td>
</tr>
</table>
</div>
<script src="js/spider.js" type="text/javascript"></script>
</body>
</html>