-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (54 loc) · 2.3 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
54
55
56
57
58
59
60
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<link rel="stylesheet" type="text/css" href="css/styl.css">
<title>NACL CHECKERS</title>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="libs/Kinetic.js"></script>
<script type="text/javascript" src="libs/jquery.js"></script>
<script type="text/javascript" src="checkers/Field.js"></script>
<script type="text/javascript" src="checkers/Game.js"></script>
<script type="text/javascript" src="checkers/Images.js"></script>
<script type="text/javascript" src="checkers/Model.js"></script>
<script type="text/javascript" src="checkers/Moves.js"></script>
<script type="text/javascript" src="checkers/Player.js"></script>
<script type="text/javascript" src="checkers/Tools.js"></script>
<script type="text/javascript" src="checkers/View.js"></script>
<script type="text/javascript" src="checkers/AI/RandomAI.js"></script>
<script type="text/javascript" src="checkers/AI/MinMaxAI.js"></script>
</head>
<body onload="pageDidLoad('checkers', 'newlib'); jsCheckersStart();">
<div id="listener">
<script type="text/javascript">
var listener = document.getElementById('listener')
listener.addEventListener('load', moduleDidLoad, true);
listener.addEventListener('message', handleMessage, true);
</script>
</div>
<div id="container"></div>
<div id="panel">
<textarea id="logField" name="logField" rows="25" cols="45"></textarea>
<div/>
<table>
<!-- <button id="fortyTwoButton" onclick="sendNewGameToNaCl()">New Game</button> -->
<!-- <button id="printBoard" onclick="printBoard()">NaCl Print Board</button> -->
<button id="reverseTextButton" onclick="clearLog()">Clear Log</button>
<!-- <button id="setPlayers" onclick="setPlayersToNaCl()">Set Players</button> -->
<!-- <button id="stop" onclick="stop = true;">Stop</button> -->
<button id="setAndStart" onclick="setPlayersToNaCl(); sendNewGameToNaCl();">Start</button>
<select name="search_lvl" id="search_lvl">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option selected="selected">5</option>
<option>6</option>
<option>7</option>
<option>8</option>
</select>
<table/>
</div>
</body>
</html>