-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (32 loc) · 1.41 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="index.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="index.js"></script>
</head>
<body>
<table id="board"></table>
<div class="horizontal_center_outer">
<div class="horizontal_center_inner">
<div class="grid_selector">
<label>Grid: <input type="checkbox" id="grid_value" checked="checked"/></label>
</div>
<div class="dimension_selector">
Width: <input type="number" id="width_value" min="5" max="100" onchange="checkBounds($(this), 50);" value="50" />
Height: <input type="number" id="height_value" min="5" max="100" onchange="checkBounds($(this), 50);" value="50" />
<button onclick="newGame(); this.blur();">Resize</button>
</div>
<div id="speed_selector">
Speed: <input type="range" id="speed_value" min="1" max="50" onchange="updateSpeed(); resetInterval(!!interval); this.blur();" value="25"/>
</div>
<div id="easy_button">
<button onclick="setInterval(jitter, 1000); $('#easy_button').remove();">Too easy?</button>
</div>
</div>
</div>
<footer>
Check out the <a href="https://github.com/C0urante/Snake">GitHub Repository</a>!
</footer>
</body>
</html>