forked from lihongxun945/gobang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (112 loc) · 4.49 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>轩轩五子棋</title>
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
<link rel="shortcut icon" href="/favicon.ico">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="./lib/jquery-weui/lib/weui.min.css?r=20160316">
<link rel="stylesheet" href="./lib/jquery-weui/css/jquery-weui.css">
<link rel="stylesheet" href="./dist/main.css">
</head>
<body ontouchstart class="show-nu">
<h1>轩轩五子棋</h1>
<h4><strong>V2.2.0</strong> 更新时间 2018-05-25</h4>
<div class="board-outer">
<div class="board" id="board">
</div>
</div>
<div class="chat">
<div class="chat-inner"></div>
</div>
<div class="status"></div>
<div class="buttons">
<div class="weui-row">
<div class="weui-col-33">
<a href="javascript:;" class="weui-btn weui-btn_primary" id='start'>开始</a>
</div>
<div class="weui-col-33">
<a href="javascript:;" class="weui-btn weui-btn_warn" id='fail'>认输</a>
</div>
<div class="weui-col-33">
<a href="javascript:;" class="weui-btn weui-btn_default" id='back'>悔棋</a>
</div>
</div>
</div>
<p class="notice"><strong>注意:</strong>手机上请使用系统自带浏览器(Safari/Chrome),在QQ/微信内置浏览器中电脑思考速度会慢10倍以上!</p>
<div class="settings">
<div class="weui-cells__title">显示设置</div>
<div class="weui-cells weui-cells_form">
<div class="weui-cell weui-cell_switch">
<div class="weui-cell__bd">显示序号</div>
<div class="weui-cell__ft">
<input class="weui-switch" type="checkbox" id="show-nu" checked>
</div>
</div>
</div>
<div class="weui-cells__title">电脑棋力设置(测试用,别修改)</div>
<div class="weui-cells">
<div class="weui-cell">
<div class="weui-cell__bd">
<p>步时限制(<span class="range"></span>)(秒)</p>
</div>
<div class="weui-cell__ft">
<div class="weui-count" id="time">
<a class="weui-count__btn weui-count__decrease"></a>
<input class="weui-count__number" type="number" value="6" readonly/>
<a class="weui-count__btn weui-count__increase"></a>
</div>
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p>搜索深度(<span class="range"></span>)</p>
</div>
<div class="weui-cell__ft">
<div class="weui-count" id="depth">
<a class="weui-count__btn weui-count__decrease"></a>
<input class="weui-count__number" type="number" value="6" readonly/>
<a class="weui-count__btn weui-count__increase"></a>
</div>
</div>
</div>
<div class="weui-cell">
<div class="weui-cell__bd">
<p>搜索广度(<span class="range"></span>)</p>
</div>
<div class="weui-cell__ft">
<div class="weui-count" id="breadth">
<a class="weui-count__btn weui-count__decrease"></a>
<input class="weui-count__number" type="number" value="10" readonly />
<a class="weui-count__btn weui-count__increase"></a>
</div>
</div>
</div>
<!--<div class="weui-cell">
<div class="weui-cell__bd">
<p>算杀深度(<span class="range"></span>)</p>
</div>
<div class="weui-cell__ft">
<div class="weui-count" id="vcx">
<a class="weui-count__btn weui-count__decrease"></a>
<input class="weui-count__number" type="number" value="5" readonly/>
<a class="weui-count__btn weui-count__increase"></a>
</div>
</div>
</div>-->
</div>
</div>
<footer>
<h3>作者@言川, 测试@轩轩</h3>
源码: <a href='https://github.com/lihongxun945/gobang' target="_blank">https://github.com/lihongxun945/gobang</a>
<br>
@2016-03-16
</footer>
<script src='./lib/jquery-weui/lib/jquery-2.1.4.js'></script>
<script src='./lib/jquery-weui/js/jquery-weui.js'></script>
<script src='./dist/main.js?r=20160316'></script>
</body>
</html>