forked from itlwei/Chess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (47 loc) · 1.99 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
<!DOCTYPE HTML>
<html>
<head>
<meta charset="gb2312">
<title>中国象棋 in html5</title>
<link href="css/chess.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="box" id="box">
<div class="chess_left">
<canvas id="chess">对不起,您的浏览器不支持HTML5,请升级浏览器至IE9、firefox或者谷歌浏览器!</canvas>
<audio src="audio/click.wav" id="clickAudio" preload="auto"></audio>
<!--<audio src="audio/check.wav" id="checkAudio" preload="auto"></audio>-->
<audio src="audio/select.wav" id="selectAudio" preload="auto"></audio>
<div>
<div class="bn_box" id="bnBox">
<input type="button" name="offensivePlay" id="tyroPlay" value="新手水平" />
<input type="button" name="offensivePlay" id="superPlay" value="中级水平" />
<!--<input type="button" name="button" id="" value="大师水平" disabled />
<input type="button" name="offensivePlay" id="offensivePlay" value="先手开始" />
<input type="button" name="defensivePlay" id="defensivePlay" value="后手开始" />
-->
<input type="button" name="regret" id="regretBn" value="悔棋" />
<input type="button" name="billBn" id="billBn" value="棋谱" class="bn_box" />
<input type="button" name="stypeBn" id="stypeBn" value="换肤" />
<input type="button" name="download" id="download" value="源码下载" onClick="window.open('chess-in-html5-1.01.zip')" />
</div>
</div>
</div>
<div class="chess_right" id="chessRight">
<select name="billList" id="billList">
</select>
<ol id="billBox" class="bill_box">
</ol>
</div>
<div id="moveInfo" class="move_info"> </div>
</div>
<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/play.js"></script>
<script type="text/javascript" src="js/AI.js"></script>
<script type="text/javascript" src="js/bill.js"></script>
<script type="text/javascript" src="js/gambit.js"></script>
<div style="display:none">
<script src="http://s25.cnzz.com/stat.php?id=98945&web_id=98945" language="JavaScript"></script>
</div>
</body>
</html>