-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
24 lines (24 loc) · 766 Bytes
/
index.html
File metadata and controls
24 lines (24 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!doctype html>
<html>
<head>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js">
</script>
<link rel="stylesheet" href="css/shapegame.css">
</head>
<body>
Shape Game
<div id="canvasContainer" class="canvasContainer">
<canvas id="canvas" class="canvas"
onMouseMove="shapeGame.mouseMoved()"
onMouseDown="shapeGame.focusShape()"
onMouseUp="shapeGame.unfocusShape()"
onMouseOut="shapeGame.unfocusShape()">
</canvas>
</div>
<button onclick="shapeGame.cutThrough()">Cut through</button>
<span id="debug"> </span>
</body>
<script src="js/shapegame.js"></script>
<script src="js/gameController.js"></script>
</html>