/
lightgrid.html
47 lines (40 loc) · 1.38 KB
/
lightgrid.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 lang="en">
<head>
<meta charset="utf-8">
<title>Light Grid</title>
<meta name="description" content="Light Grid">
<meta name="author" content="Jarad Comingdeer">
<link rel="stylesheet" href="css/lightgrid.css" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="wrapper">
<div id="header">
<img class="logo" src="images/logo.png" />
</div>
<div id="lights">
<div id="win">
<a onclick="LightGrid.reset();" id="restart" class="button">Play Again?</a>
</div>
</div>
<div id="tutorial">
<p><b>Goal:</b> Turn all the lights on!</p>
<p><b>Rules:</b> Toggling a light will toggle any adjacent lights.<p/>
</div>
<div id="footer">
<ul id="difficulty">
<li><a class="button Easy" onclick="LightGrid.setMode(LightGrid.difficulties[0])">Easy</a></li>
<li><a class="button Normal" onclick="LightGrid.setMode(LightGrid.difficulties[1])">Normal</a></li>
<li><a class="button Hard" onclick="LightGrid.setMode(LightGrid.difficulties[2])">Hard</a></li>
</ul>
<div id="timer">
<span class="time">00:00</span>
<span class="best-time">Try to solve it as fast as you can!</span>
</div>
</div>
</div>
<script src="js/lib/jquery-1.7.2.min.js"></script>
<script src="js/LightGrid.js"></script>
</body>
</html>