forked from jms8142/worldD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (47 loc) · 1.57 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>World Denomination</title>
<link rel="stylesheet" href="css/styles.css" type="text/css"/>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js'></script>
<script type='text/javascript' src='js/lib/prototype.js'></script>
<script>
var _game;
</script>
<script type="text/javascript" src="js/DrawableElement.js"></script>
<script type="text/javascript" src="js/GameTile.js"></script>
<script type="text/javascript" src="js/Behavior.js"></script>
<script type="text/javascript" src="js/Animation.js"></script>
<script type="text/javascript" src="js/Game.js"></script>
<script type="text/javascript" src="test/testBoards.js"></script>
<script>
jQuery(function(){
var opts = {
gameBoard : oneTower,
startingPiece : 0, //[0=1,1=5,2=10,3=25]
startingPiecePosition : { x : 4, y : 3 },
constantPiece : null,
debugWindow : true,
debugShow : Game.debugMovement | Game.debugTransition
}
/*
var opts = {
startingPiecePosition : { x : 4, y : 4 },
debugWindow : true,
debugShow : Game.debugBehavior | Game.debugMovement | Game.debugTransition
}
*/
_game = new Game(opts);
//var _game = new Game();a
//_game.PrintGameBoardtoConsole();
});
</script>
</head>
<body>
<canvas id="canvas" width="450" height="500">
Canvas not supported.
</canvas>
<div class="debugWindow"></div>
</body>
</html>