-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (34 loc) · 925 Bytes
/
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
<html>
<head>
<title>Metro Dark Chess</title>
<style>
html, body {
width: 100%;
height: 100%;
margin:0% 0% 0% 0%;
padding:0%;
text-align:center;
color:grey;
background-color:black
}
canvas{
padding:0px;
}
</style>
<script src="language.js"></script>
<script src="global.js"></script>
<script src="common.js"></script>
<script src="rule.js"></script>
<script src="display.js"></script>
<script src="ai.js"></script>
<script src="game.js"></script>
</head>
<body>
<canvas id='c'></canvas>
<div id="sound_element"></div>
<b id='gameMessage'></b>
<b id='debugMessage'></b>
<b id='errorMessage'></b>
<audio id="clickAudio" src="click.wav" preload="auto"></audio>
</body>
</html>