-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (79 loc) · 3.51 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html>
<head>
<script src="js/jquery-3.2.1.js" charset="utf-8"></script>
<script src="js/scripts.js" charset="utf-8"></script>
<link href="https://fonts.googleapis.com/css?family=Exo:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Bungee|Bungee+Hairline|Bungee+Inline|Bungee+Shade|Open+Sans" rel="stylesheet">
<script defer src="https://use.fontawesome.com/releases/v5.0.2/js/all.js"></script>
<link rel="stylesheet" href="css/main.css">
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1">
<title>Floor Asplosion!</title>
</head>
<body class="default">
<div id="how-to">
<div class="how-to-content">
<h1>How to Play:</h1>
<ul>
<li>Click the tiles to uncover a square. (But if you click on a mine, you lose the game!)</li>
<li>Right-click to place a flag where you think a mine will be found.</li>
<li>If a tile contains a number, that tells you how many mines are located in the neighboring tiles.</li>
<li>To win, uncover all the tiles witout clicking on a mine.</li>
</ul>
<div id="close-howto"><i class="fa fa-window-close fa-3x"></i></div>
</div>
</div>
<header>
<h1 id="title">Minesweeper</h1>
<div id="question-mark">
<h1 class="question-mark">?</h1>
</div>
</header>
<div class="main-area">
<div class="game" id="minesweeper1">
<div class="mines">
<h1 id="mine-count">5</h1>
<p>mines</p>
</div>
<div class="gameboard" oncontextmenu="return false">
</div> <!-- gameboard -->
</div> <!-- game -->
<div class="user-controls">
<div class="forms">
<form id="game-settings">
<div class="form-group">
<label>Difficulty</label>
<select id="difficulty" class="select" name="size">
<option value="beginner" selected="selected">Beginner</option>
<option value="intermediate">Intermediate</option>
<option value="advanced">Advanced</option>
<option value="ridiculous">Ridiculous</option>
</select>
</div>
<button type="submit" id="newGame">New Game</button>
</form>
<form id="theme-selector">
<div class="form-group">
<label>Game Theme</label>
<select id="theme-choice" class="select" name="size">
<option value="1">Holly</option>
<option value="2">Luke</option>
<option value="3">Sailor</option>
<option value="4">Default</option>
</select>
</div>
<button type="submit" id="theme-selector">New Theme</button>
</form>
</div>
</div>
</div><!-- main-area -->
<footer>
<h6>Minesweeper is a project by Luke, Holly, and Sailor.</h6>
<ul>
<li><a href="https://github.com/lukebertram"><img src="img/GitHub-Mark-Light-64px.png" alt="Github for Luke" target="_blank" id="luke-git"></a></li>
<li><a href="https://github.com/sailor27"><img src="img/GitHub-Mark-Light-64px.png" alt="Github for Sailor" target="_blank" id="sailor-git"></a></li>
<li><a href="https://github.com/hollywilkalis"><img src="img/GitHub-Mark-Light-64px.png" alt="Github for Holly" target="_blank" id="holly-git"></a></li>
</ul>
</footer>
</body>
</html>