-
Notifications
You must be signed in to change notification settings - Fork 0
/
Minesweeper.html
30 lines (28 loc) · 1.1 KB
/
Minesweeper.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Minesweeper</title>
<!--<link rel="stylesheet" type="text/css" href="mine.css">-->
<script src="jquery.min.js"></script>
<style>
.box { display: inline-block; width: 40px; height: 40px; line-height: 40px; border: 1px solid #fff; background: #eee; cursor: pointer; text-align: center; vertical-align: middle; }
</style>
</head>
<body style="text-align:center">
<div style="margin: 0 auto">
<div id="game" style="">
<lable>x : <input type="text" id="x"></lable><br>
<lable>y : <input type="text" id="y"></lable><br>
<lable>n : <input type="text" id="n"></lable><br>
<button style="margin: 10px" id="start">Start</button>
</div>
<div id="container"></div>
<div id="foot" style="margin-top: 20px">
剩余炸弹:<input type="text" id="mine" disabled style="width: 80px;text-align: center">
已用时间:<input type="text" id="time" disabled style="width: 80px;text-align: center">
</div>
</div>
<script src="myMinesweeper.js"></script>
</body>
</html>