-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
73 lines (66 loc) · 3.02 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
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>围棋大变种</title>
<link rel="stylesheet" href="css/animation.css">
<link rel="stylesheet" href="css/index.css">
<style class="normalStyle"></style>
</head>
<body>
<h1>围棋大变种</h1>
<div class="shapeSelect">
<button class="normal">正方形网络</button>
<button class="triangle">三角形</button>
<button class="hexagon wip">六边形</button>
</div>
<div class="normalOption" style="display: none">
<label>棋盘宽度:</label>
<input type="number" class="width" value="19">
<label>棋盘高度:</label>
<input type="number" class="height" value="19">
<label>玩家数量:</label>
<input type="number" value="2" min="2" class="playerNumber">
<label>玩家颜色设定:</label>
<span class="userColorList">
<input type="color" value="#000000">
<input type="color" value="#ffffff">
</span>
<label>地形模式:</label>
<select name="hinderMode" class="hinderMode">
<option value="传统">传统</option>
<option value="随机碎石地">随机碎石地</option>
<option value="随机火石地">随机火石地</option>
<option value="中凸高原">中凸高原</option>
<option value="中框">中框</option>
<option value="角落消失">角落消失</option>
<option value="九宫格分裂世界">九宫格分裂世界</option>
<option value="九宫格迷宫世界">九宫格迷宫世界</option>
<option value="田字格分裂世界">田字格分裂世界</option>
<option value="X分裂世界">X分裂世界</option>
</select>
<label>碎石出现概率</label>
<input type="range" max="100" min="0" value="0" class="stoneRate">
<label>火石出现概率</label>
<input type="range" max="100" min="0" value="0" class="firestoneRate">
<button class="play">开始游戏 / 重新开始</button>
</div>
<div class="normalGameDiv" style="display: none">
<button class="autoPlayRandom100">自动随机100步</button>
<button class="autoPlayRandom10">自动随机10步</button>
<button class="animationSwitch-boardShake">落子棋盘振特效:false</button>
<button class="animationSwitch-shockWave">吃子震荡波特效:true</button>
<button class="animationSwitch-connect">棋子连接效果:true</button>
<div class="table"></div>
</div>
</body>
<script src="js/tools.js"></script>
<script src="js/Point.js"></script>
<script src="js/gameObject.js"></script>
<script src="js/Game.js"></script>
<script src="js/normalGame.js"></script>
<script src="js/index.js"></script>
</html>