-
Notifications
You must be signed in to change notification settings - Fork 0
/
movingblocks.html
50 lines (44 loc) · 2.75 KB
/
movingblocks.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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<script src="scripts/json2.js"> </script> <!-- this to make IE work -->
<script src="scripts/jquery-1.10.2.min.js"> </script>
<script src="scripts/jsrender.js"> </script>
<script src="scripts/common.js"> </script>
<script src="scripts/utilities.js"> </script>
<script src="scripts/movingblocks.js"> </script>
<link rel="stylesheet" href="css/crystal_maze.css" />
<link href='http://fonts.googleapis.com/css?family=Port+Lligat+Slab' rel='stylesheet' type='text/css'>
<title>Moving Blocks</title>
</head>
<div class="navbar">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="lightsout.html">Lights Out!</a></li>
<li><a href="whosonfirst.html">Whos on first</a></li>
<li><a class="active" href="movingblocks.html">Moving blocks</a></li>
</ul>
</div>
<body onload="generate_game()">
<div id="gameboard">
<svg id="svg_area">
<rect id="blue_target" width="100" height="44" x="2" y="2" style="fill:white;stroke:blue;stroke-width:2;stroke-opacity:0.8;fill-opacity:0.5"</>
<rect id="blue" width="80" height="40" y="4" style="fill:blue"</>
<rect id="red_target" width="100" height="44" x="2" y="82" style="fill:white;stroke:red;stroke-width:2;stroke-opacity:0.8;fill-opacity:0.5"</>
<rect id="red" width="80" height="40" y="84" style="fill:red"</>
<rect id="gold_target" width="100" height="44" x="2" y="162" style="fill:white;stroke:gold;stroke-width:2;stroke-opacity:0.8;fill-opacity:0.5"</>
<rect id="gold" width="80" height="40" y="164" style="fill:gold"</>
<rect id="limegreen_target" width="100" height="44" x="2" y="242" style="fill:white;stroke:limegreen;stroke-width:2;stroke-opacity:0.8;fill-opacity:0.5"</>
<rect id="limegreen" width="80" height="40" y="244" style="fill:limegreen"</>
<rect id="cyan_target" width="100" height="44" x="2" y="322" style="fill:white;stroke:cyan;stroke-width:2;stroke-opacity:0.8;fill-opacity:0.5"</>
<rect id="cyan" width="80" height="40" y="324" style="fill:cyan"</>
<rect id="darkorange_target" width="100" height="44" x="2" y="402" style="fill:white;stroke:darkorange;stroke-width:2;stroke-opacity:0.8;fill-opacity:0.5"</>
<rect id="darkorange" width="80" height="40" y="404" style="fill:darkorange"</>
<!-- <rect id="purple_target" width="100" height="44" x="2" y="482" style="fill:white;stroke:purple;stroke-width:2;stroke-opacity:0.8;fill-opacity:0.5"</> -->
<!-- <rect id="purple" width="80" height="40" y="484" style="fill:purple"</> -->
<!-- <rect id="hotpink_target" width="100" height="44" x="2" y="562" style="fill:white;stroke:hotpink;stroke-width:2;stroke-opacity:0.8;fill-opacity:0.5"</> -->
<!-- <rect id="hotpink" width="80" height="40" y="564" style="fill:hotpink"</> -->
</svg>
</div>
</body>
</html>