forked from local-host-8080/Minesweeper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjichudingshi.html
More file actions
120 lines (80 loc) · 2.29 KB
/
Copy pathjichudingshi.html
File metadata and controls
120 lines (80 loc) · 2.29 KB
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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width">
<title>扫雷入门定式</title>
<style>
body{background:#f7f7f0;}
table{border-collapse:collapse;cursor:default;}
#foo{border-top:solid 1px #cccccc;padding-top:2rem;margin-top:6rem;width:90%;text-align:center}
</style>
<base target="_top">
</head>
<body>
<a href="index.html">返回首页</a>
<center>
<br><br>
<div style="text-align:left;width:90%">
<br>
<br>
<b>最常用的基础定式</b>
<br><br>
应用定式,要求数字的一侧没有未明方块。
<br>
先假设数字一侧没有已标记的雷。周围有雷的情况,请看后面的“减法原理”。
<br><br>
<b>“靠边”</b>是指靠边框,或靠已翻开的格子。
<br>
(图中隐去了不相关的数字。)
<br><br>
一、2靠边,两个雷;
<br>
<img src="static/picture/2-1.jpg">
,
<img src="static/picture/2-2.jpg">
<br><br>
二、两个1靠边,第三列的三个格子无雷;
<br>
<img src="static/picture/11.jpg">
<img src="static/picture/11-2.jpg">
<br><br>
三、12在任意位置,第三格是雷;
<br>
<img src="static/picture/12.jpg">
<br><br>
四、3在中间,三个雷;
<br>
<img src="static/picture/3.jpg">
<br><br>
五、121在任何位置,两个1有雷,2无雷;
<br>
<img src="static/picture/121.jpg">
<br><br>
六、1221在任何位置:两个2有雷,1无雷
<br>
<img src="static/picture/1221.jpg">
<br><br>
方向左右横竖都一样。更多定式上网搜索。
<br><br><br>
<b>减法原理:</b>
<br><br>
一、如果数字的周围已标有地雷,则先用数字减去周围雷数,再应用定式。
<br><br>
比如图中,3周围有两个雷3-2=1,2周围有一个雷2-1=1,故简化为11模式,画点的两个格子可以直接打开。
<br>
<img src="static/picture/minus.jpg">
<br><br><br>
二、根据减法原理,如果未明方块的一头是一个标记的雷,则把此雷数减掉,也视为靠边,可应用定式。
</div>
<div id="foo">
在线扫雷游戏
</div>
<br><br>
</center>
</div>
<script language="javascript" type="text/javascript" src=".\static\js\18759442.js"></script>
<div style="display: none">
<script type="text/javascript" src=".\static\js\z_stat.js"></script>
</div>
</body>
</html>