-
Notifications
You must be signed in to change notification settings - Fork 0
/
minesweeper.html
53 lines (46 loc) · 1.59 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Krystian Pińczak</title>
<!-- imports -->
<link rel="stylesheet" href="style/main.css">
<link rel="stylesheet" href="style/mineswe.css">
<script type="text/javascript" src="scripts/minesweeper.js"></script>
</head>
<body>
<header>
<h1 class="header-bar">
<a href="index.html" target="_self">Home</a>
<a href="minesweeper.html" target="_self">Minesweeper</a>
<a href="gol.html" target="_self">Game of life</a>
<a href="ran_pass.html" target="_self">Random password generator</a>
<a href="webgl.html" target="_self">WebGL Animation</a>
</h1>
</header>
<div id="main">
<article>
<div class="timer">Time: 0s</div>
<table class="board"></table>
</article>
<nav>
<label for="get_x_board">Width of board: (X)</label>
<input type="number" id="get_x_board" min="1" value="16">
<label for="get_y_board">Heigth of board: (Y)</label>
<input type="number" id="get_y_board" min="1" value="16">
<label for="get_num_mines">How much mines:</label>
<input type="number" id="get_num_mines" min="1" value="40"><br><br>
<button onclick="start_game()">Start Minesweeper Game</button>
<h1 id="game_outcome"></h1>
</nav>
</div>
<footer>
<h2>
Krystian Pińczak; work in progress!
<a href="https://github.com/PKrystian" target="_blank">>GitHub<</a>
</h2>
</footer>
</body>
</html>