-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (33 loc) · 1 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
<!DOCTYPE html>
<html>
<head><title>Play Minesweeper</title></head>
<link href="style.css" rel="stylesheet">
<script src="script.js" defer></script>
<body>
<div id="main">
<h2>Minesweeper</h2>
<p id="description"></p>
<div id="steps">
<ul>
<!-- <li>1. Put all ships to board</li>
<li>2. Play Now button would be shown up after all ships had been put by both players</li>
<li>3. Click on board to attack</li>
<li>4. Destroy all your enemy's ships</li> -->
</ul>
</div>
<div id="action">
Board Length: <br />
<input type="text" id="boardLength">
<br />
Bombs: <br />
<input type="text" id="bombsLength">
<br />
<button class="action" type="submit" id="setBoard">Start Game!</button>
<button class="action" type="submit" id="resetGame">Reset Game</button>
</div>
<div id="board">
</div>
<div id="status"></div>
</div>
</body>
</html>