-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (62 loc) · 2.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Add favicon for all sort of platforms-->
<link rel="apple-touch-icon" sizes="57x57" href="favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
<title>Minesweeper</title>
</head>
<body>
<!-- navbar -->
<nav class="navbar navbar-dark bg-dark">
<span class="navbar-brand mb-0 h1">Minesweeper</span>
</nav>
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" href="index.html">Game</a>
</li>
<li class="nav-item">
<a class="nav-link" href="score.html">Best scores</a>
</li>
<li class="nav-item">
<a class="nav-link" href="config.html">Configuration</a>
</li>
<li class="nav-item">
<a class="nav-link" href="help.html">Help</a>
</li>
</ul>
<!-- Display score (it's a modal) -->
<div class="centered">
<div id="score" class="score"></div>
</div>
<!-- Display time -->
<div class="row centered">
<div id="timer" onclick="newGame()" class="mt-2 timer"></div>
</div>
<!-- Display grid -->
<div class="centered mb-3 mt-2">
<div id="grid"></div>
</div>
<script src="minesweeper.js"></script>
</body>
</html>